TEST REPORT

SUMMARY

Description               "scenario_bgp_policy_distribute_list_in" result report

Start Time                   2026-10-03T01:08:48.038980

Index Scenario Time Stamp Pass/Fail
1 Print Topology Image 01:09:48 1 / 0
2 Session Check 01:09:48 4 / 0
3 IP Assign for BGP Func Test 01:09:48 30 / 0
4 Distribute List Out Function 01:12:58 224 / 0

SESSIONS

Name Connection Type Host Address Port Login User
R-1ssh10.250.0.5122admin
R-2ssh10.250.0.5222admin
R-3ssh10.250.0.5322admin
R-4ssh10.250.0.5422admin

RESULT

Index Action Session Time Stamp Pass/Fail
1 print topology img caller 01:09:48 Pass
Parameter topo-L3-bgp.jpg
Response /data/NetAutoTestFW/tests/converter_report/topology_img/topo-L3-bgp.jpg
 
2 session check R-1 R-1 01:09:48 Pass
Parameter None
Response Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|

-- Software for Open Networking in the Cloud --

Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.

Help: https://sonic-net.github.io/SONiC/

Last login: Sat Oct 3 00:49:56 2026 from 10.250.0.1

admin@R-1:~$
3 session Check R-2 R-2 01:09:48 Pass
Parameter None
Response Linux R-2 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|

-- Software for Open Networking in the Cloud --

Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.

Help: https://sonic-net.github.io/SONiC/

Last login: Sat Oct 3 00:49:59 2026 from 10.250.0.1

admin@R-2:~$
4 session Check R-3 R-3 01:09:48 Pass
Parameter None
Response Linux R-3 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|

-- Software for Open Networking in the Cloud --

Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.

Help: https://sonic-net.github.io/SONiC/

Last login: Sat Oct 3 00:50:01 2026 from 10.250.0.1

admin@R-3:~$
5 session Check R-4 R-4 01:09:48 Pass
Parameter None
Response Linux R-4 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|

-- Software for Open Networking in the Cloud --

Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.

Help: https://sonic-net.github.io/SONiC/

Last login: Sat Oct 3 00:50:03 2026 from 10.250.0.1

admin@R-4:~$
 
6 Assign IPv4 on R-1 R-1 01:09:48 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 01:09:46 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

7 Assign IPv4 on R-1 R-1 01:09:55 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 01:09:54 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

8 Assign IPv4 on R-1 R-1 01:10:03 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 01:10:01 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

9 Assign IPv4 on R-1 R-1 01:10:10 Pass
Parameter ~$ sudo config interface ip add Ethernet4 10.1.1.1/30
Response Success
10 Assign IPv4 on R-1 R-1 01:10:16 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.1.9/30
Response Success
11 Assign IPv4 on R-1 R-1 01:10:21 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.1.1.5/30
Response Success
12 Assign IPv4 on R-1 R-1 01:10:27 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.10.1.1/24
Response Success
13 Assign IPv4 on R-1 R-1 01:10:33 Pass
Parameter ~$ sudo config interface ip add Ethernet20 10.10.2.1/24
Response Success
14 Assign IPv4 on R-2 R-2 01:10:38 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 01:10:38 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

15 Assign IPv4 on R-2 R-2 01:10:46 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 01:10:45 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

16 Assign IPv4 on R-2 R-2 01:10:53 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 01:10:52 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

17 Assign IPv4 on R-2 R-2 01:11:00 Pass
Parameter ~$ sudo config interface ip add Ethernet4 10.1.1.2/30
Response Success
18 Assign IPv4 on R-2 R-2 01:11:06 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.1.6/30
Response Success
19 Assign IPv4 on R-2 R-2 01:11:12 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.1.3.1/24
Response Success
20 Assign IPv4 on R-2 R-2 01:11:17 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.20.0.1/24
Response Success
21 Assign IPv4 on R-2 R-2 01:11:23 Pass
Parameter ~$ sudo config interface ip add Ethernet20 10.20.1.1/24
Response Success
22 Assign IPv4 on R-3 R-3 01:11:28 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 01:11:28 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

23 Assign IPv4 on R-3 R-3 01:11:36 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 01:11:35 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

24 Assign IPv4 on R-3 R-3 01:11:43 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 01:11:43 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

25 Assign IPv4 on R-3 R-3 01:11:51 Pass
Parameter ~$ sudo config interface ip add Ethernet0 10.1.1.10/30
Response Success
26 Assign IPv4 on R-3 R-3 01:11:56 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.3.2/24
Response Success
27 Assign IPv4 on R-3 R-3 01:12:02 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.30.0.1/24
Response Success
28 Assign IPv4 on R-3 R-3 01:12:08 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.30.1.1/24
Response Success
29 Assign IPv4 on R-4 R-4 01:12:13 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 01:12:12 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

30 Assign IPv4 on R-4 R-4 01:12:21 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 01:12:20 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

31 Assign IPv4 on R-4 R-4 01:12:28 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 01:12:27 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

32 Assign IPv4 on R-4 R-4 01:12:36 Pass
Parameter ~$ sudo config interface ip add Ethernet4 10.1.4.1/24
Response Success
33 Assign IPv4 on R-4 R-4 01:12:41 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.3.3/24
Response Success
34 Assign IPv4 on R-4 R-4 01:12:47 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.40.0.1/24
Response Success
35 Assign IPv4 on R-4 R-4 01:12:52 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.40.1.1/24
Response Success
 
36 Default01-Set R-1 01:12:58 Pass
Parameter ~$ vtysh -c "config" \
-c "route-map permit-all permit 10" \
-c "exit" \
-c "router bgp 100" \
-c "bgp router-id 10.10.1.1" \
-c "network 10.10.1.0/24" \
-c "neighbor 10.1.1.2 remote-as 200" \
-c "neighbor 10.1.1.2 route-map permit-all in" \
-c "neighbor 10.1.1.2 route-map permit-all out" \
-c "do show running-config" \
-c "end"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and
contain string: router bgp 100
contain string: bgp router-id 10.10.1.1
contain string: network 10.10.1.0/24
contain string: neighbor 10.1.1.2 remote-as 200
37 Default01-Set R-2 01:13:07 Pass
Parameter ~$ vtysh -c "config" \
-c "route-map permit-all permit 10" \
-c "exit" \
-c "router bgp 200" \
-c "bgp router-id 10.20.1.1" \
-c "neighbor 10.1.1.1 remote-as 100" \
-c "neighbor 10.1.1.1 route-map permit-all in" \
-c "neighbor 10.1.1.1 route-map permit-all out" \
-c "neighbor 10.1.3.2 remote-as 300" \
-c "neighbor 10.1.3.2 route-map permit-all in" \
-c "neighbor 10.1.3.2 route-map permit-all out" \
-c "neighbor 10.1.3.3 remote-as 400" \
-c "neighbor 10.1.3.3 route-map permit-all in" \
-c "neighbor 10.1.3.3 route-map permit-all out" \
-c "do show running-config" \
-c "end"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and
contain string: router bgp 200
contain string: bgp router-id 10.20.1.1
contain string: neighbor 10.1.1.1 remote-as 100
contain string: neighbor 10.1.3.2 remote-as 300
contain string: neighbor 10.1.3.3 remote-as 400
38 Default01-Set R-3 01:13:14 Pass
Parameter ~$ vtysh -c "config" \
-c "route-map permit-all permit 10" \
-c "exit" \
-c "router bgp 300" \
-c "bgp router-id 10.30.1.1" \
-c "network 10.30.0.0/24" \
-c "network 10.30.1.0/24" \
-c "neighbor 10.1.3.1 remote-as 200" \
-c "neighbor 10.1.3.1 route-map permit-all in" \
-c "neighbor 10.1.3.1 route-map permit-all out" \
-c "do show running-config" \
-c "end"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and
contain string: router bgp 300
contain string: bgp router-id 10.30.1.1
contain string: network 10.30.0.0/24
contain string: network 10.30.1.0/24
contain string: neighbor 10.1.3.1 remote-as 200
39 Default01-Set R-4 01:13:22 Pass
Parameter ~$ vtysh -c "config" \
-c "route-map permit-all permit 10" \
-c "exit" \
-c "router bgp 400" \
-c "bgp router-id 10.40.1.1" \
-c "network 10.40.0.0/24" \
-c "network 10.40.1.0/24" \
-c "neighbor 10.1.3.1 remote-as 200" \
-c "neighbor 10.1.3.1 route-map permit-all in" \
-c "neighbor 10.1.3.1 route-map permit-all out" \
-c "do show running-config" \
-c "end"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and
contain string: router bgp 400
contain string: bgp router-id 10.40.1.1
contain string: network 10.40.0.0/24
contain string: network 10.40.1.0/24
contain string: neighbor 10.1.3.1 remote-as 200
40 Default01-Verification R-1 01:13:30 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 10 9 5 0 0 00:00:23 4 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 4 200
contain string: Total number of neighbors 1
41 Default01-Verification R-1 01:13:35 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.0.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.30.1.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.40.0.0/24 10.1.1.2 0 200 400 i
contain string: *> 10.40.1.0/24 10.1.1.2 0 200 400 i
contain string: Displayed 5 routes and 5 total paths
42 Default01-Verification R-1 01:13:41 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:03:31
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:03:20
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:03:20
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:03:25
K * 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:03:25
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:03:14
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:03:14
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:03:08
K 10.10.2.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:03:08
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:25
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:25
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:17
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:11:45
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:11:45
Judgement Success

inter-conditional operator : and
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4
43 Default01-Verification R-2 01:13:46 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 9 10 5 0 0 00:00:39 1 5 N/A
10.1.3.2 4 300 13 10 5 0 0 00:00:31 2 5 N/A
10.1.3.3 4 400 16 11 5 0 0 00:00:23 2 5 N/A

Total number of neighbors 3
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.1 4 100
contain string: 10.1.3.2 4 300
contain string: 10.1.3.3 4 400
contain string: Total number of neighbors 3
44 Default01-Verification R-2 01:13:52 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.1.1 0 0 100 i
contain string: *> 10.30.0.0/24 10.1.3.2 0 0 300 i
contain string: *> 10.30.1.0/24 10.1.3.2 0 0 300 i
contain string: *> 10.40.0.0/24 10.1.3.3 0 0 400 i
contain string: *> 10.40.1.0/24 10.1.3.3 0 0 400 i
contain string: Displayed 5 routes and 5 total paths
45 Default01-Verification R-2 01:13:57 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:02:57
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:02:51
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:02:46
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:02:46
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:49
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:02:40
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:02:34
K 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:02:34
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:10:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:10:11
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12
46 Default01-Verification R-3 01:14:03 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 10 13 5 0 0 00:00:48 3 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
47 Default01-Verification R-3 01:14:08 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.3.1 0 200 100 i
contain string: *> 10.30.0.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.40.0.0/24 10.1.3.3 0 200 400 i
contain string: *> 10.40.1.0/24 10.1.3.3 0 200 400 i
contain string: Displayed 5 routes and 5 total paths
48 Default01-Verification R-3 01:14:14 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:02:22
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:02:17
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:02:17
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:57
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:02:11
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:02:06
K 10.30.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:02:06
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:49
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:49
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:08:37
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:08:37
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8
49 Default01-Verification R-4 01:14:19 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 11 16 5 0 0 00:00:55 3 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
50 Default01-Verification R-4 01:14:25 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.3.1 0 200 100 i
contain string: *> 10.30.0.0/24 10.1.3.2 0 200 300 i
contain string: *> 10.30.1.0/24 10.1.3.2 0 200 300 i
contain string: *> 10.40.0.0/24 0.0.0.0 0 32768 i
contain string: *> 10.40.1.0/24 0.0.0.0 0 32768 i
contain string: Displayed 5 routes and 5 total paths
51 Default01-Verification R-4 01:14:30 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:01:48
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:01:54
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:01:54
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:05
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:05
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:05
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:01:43
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:01:37
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:01:37
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:07:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:07:05
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8
52 Set access-list deny A.B.C.D 0.0.0.0 R-1 01:14:35 Pass
Parameter ~$ vtysh -c "config" \
-c "access-list 1 deny 10.30.0.0 0.0.0.0" \
-c "access-list 1 deny 10.40.0.0 0.0.0.0" \
-c "access-list 1 permit any" \
-c "do show running-config" \
-c "end"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0 0.0.0.0
access-list 1 seq 10 deny 10.40.0.0 0.0.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

53 Set distribute-list in R-1 01:14:41 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "neighbor 10.1.1.2 distribute-list 1 in" \
-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 distribute-list 1 in
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0 0.0.0.0
access-list 1 seq 10 deny 10.40.0.0 0.0.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

54 Verification distribute-list in R-1 01:14:46 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 7
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 17 19 7 0 0 00:01:39 2 3 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 4 200
contain string: Total number of neighbors 1
55 Verification distribute-list in R-1 01:14:52 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 7, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i

Displayed 3 routes and 3 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.1.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.40.1.0/24 10.1.1.2 0 200 400 i
contain string: Displayed 3 routes and 3 total paths
not contain string: *> 10.30.0.0/24 10.1.1.2 0 200 300 i
not contain string: *> 10.40.0.0/24 10.1.1.2 0 200 400 i
56 Verification distribute-list in R-1 01:14:57 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:04:47
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:04:36
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:04:36
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:04:41
K * 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:04:41
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:04:30
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:04:30
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:04:24
K 10.10.2.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:04:24
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:41
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:13:01
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:13:01
Judgement Success

inter-conditional operator : and
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4
57 Delete distribute-list in R-1 01:15:02 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "no neighbor 10.1.1.2 distribute-list 1 in" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Success
58 Delete access-list R-1 01:15:08 Pass
Parameter ~$ vtysh -c "config" \
-c "no access-list 1" \
-c "do show running-config" \
-c "end"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

59 Default01-Verification R-1 01:15:13 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 9
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 18 25 9 0 0 00:02:06 4 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 4 200
contain string: Total number of neighbors 1
60 Default01-Verification R-1 01:15:19 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 9, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.0.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.30.1.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.40.0.0/24 10.1.1.2 0 200 400 i
contain string: *> 10.40.1.0/24 10.1.1.2 0 200 400 i
contain string: Displayed 5 routes and 5 total paths
61 Default01-Verification R-1 01:15:24 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:05:14
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:05:03
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:05:03
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:05:08
K * 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:05:08
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:04:57
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:04:57
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:04:51
K 10.10.2.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:04:51
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:02:08
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:02:00
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:13:28
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:13:28
Judgement Success

inter-conditional operator : and
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4
62 Default01-Verification R-2 01:15:30 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 25 18 5 0 0 00:02:22 1 5 N/A
10.1.3.2 4 300 15 12 5 0 0 00:02:14 2 5 N/A
10.1.3.3 4 400 18 13 5 0 0 00:02:06 2 5 N/A

Total number of neighbors 3
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.1 4 100
contain string: 10.1.3.2 4 300
contain string: 10.1.3.3 4 400
contain string: Total number of neighbors 3
63 Default01-Verification R-2 01:15:35 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.1.1 0 0 100 i
contain string: *> 10.30.0.0/24 10.1.3.2 0 0 300 i
contain string: *> 10.30.1.0/24 10.1.3.2 0 0 300 i
contain string: *> 10.40.0.0/24 10.1.3.3 0 0 400 i
contain string: *> 10.40.1.0/24 10.1.3.3 0 0 400 i
contain string: Displayed 5 routes and 5 total paths
64 Default01-Verification R-2 01:15:40 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:04:40
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:04:34
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:04:29
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:04:29
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:02:32
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:04:23
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:04:17
K 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:04:17
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:02:24
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:02:24
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:02:16
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:02:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:11:54
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:11:54
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12
65 Default01-Verification R-3 01:15:46 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 12 15 5 0 0 00:02:31 3 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
66 Default01-Verification R-3 01:15:51 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.3.1 0 200 100 i
contain string: *> 10.30.0.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.40.0.0/24 10.1.3.3 0 200 400 i
contain string: *> 10.40.1.0/24 10.1.3.3 0 200 400 i
contain string: Displayed 5 routes and 5 total paths
67 Default01-Verification R-3 01:15:57 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:04:05
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:04:00
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:04:00
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:02:40
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:03:54
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:03:49
K 10.30.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:03:49
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:02:32
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:02:32
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:10:20
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:10:20
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8
68 Default01-Verification R-4 01:16:02 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 13 18 5 0 0 00:02:38 3 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
69 Default01-Verification R-4 01:16:08 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.3.1 0 200 100 i
contain string: *> 10.30.0.0/24 10.1.3.2 0 200 300 i
contain string: *> 10.30.1.0/24 10.1.3.2 0 200 300 i
contain string: *> 10.40.0.0/24 0.0.0.0 0 32768 i
contain string: *> 10.40.1.0/24 0.0.0.0 0 32768 i
contain string: Displayed 5 routes and 5 total paths
70 Default01-Verification R-4 01:16:13 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:03:31
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:03:37
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:03:37
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:02:48
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:02:48
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:02:48
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:03:26
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:03:20
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:03:20
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:08:48
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:08:48
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8
71 Set access-list deny A.B.C.D A.B.C.D R-1 01:16:18 Pass
Parameter ~$ vtysh -c "config" \
-c "access-list 1 deny 10.30.0.0 0.0.0.255" \
-c "access-list 1 deny 10.40.0.0 0.0.0.255" \
-c "access-list 1 permit any" \
-c "do show running-config" \
-c "end"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0 0.0.0.255
access-list 1 seq 10 deny 10.40.0.0 0.0.0.255
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

72 Set distribute-list in R-1 01:16:24 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "neighbor 10.1.1.2 distribute-list 1 in" \
-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Success
73 Verification distribute-list in R-1 01:16:29 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 11
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 19 30 11 0 0 00:03:22 2 3 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 4 200
contain string: Total number of neighbors 1
74 Verification distribute-list in R-1 01:16:35 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 11, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i

Displayed 3 routes and 3 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.1.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.40.1.0/24 10.1.1.2 0 200 400 i
contain string: Displayed 3 routes and 3 total paths
not contain string: *> 10.30.0.0/24 10.1.1.2 0 200 300 i
not contain string: *> 10.40.0.0/24 10.1.1.2 0 200 400 i
75 Verification distribute-list in R-1 01:16:40 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:06:30
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:06:19
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:06:19
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:06:24
K * 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:06:24
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:06:13
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:06:13
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:06:07
K 10.10.2.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:06:07
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:24
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:14:44
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:14:44
Judgement Success

inter-conditional operator : and
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4
76 Delete distribute-list in R-1 01:16:46 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "no neighbor 10.1.1.2 distribute-list 1 in" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Success
77 Delete access-list R-1 01:16:51 Pass
Parameter ~$ vtysh -c "config" \
-c "no access-list 1" \
-c "do show running-config" \
-c "end"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

78 Default01-Verification R-1 01:16:57 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 13
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 19 35 13 0 0 00:03:49 4 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 4 200
contain string: Total number of neighbors 1
79 Default01-Verification R-1 01:17:02 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 13, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.0.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.30.1.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.40.0.0/24 10.1.1.2 0 200 400 i
contain string: *> 10.40.1.0/24 10.1.1.2 0 200 400 i
contain string: Displayed 5 routes and 5 total paths
80 Default01-Verification R-1 01:17:08 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:06:57
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:06:46
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:06:46
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:06:51
K * 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:06:51
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:06:40
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:06:40
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:06:34
K 10.10.2.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:06:34
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:51
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:15:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:15:11
Judgement Success

inter-conditional operator : and
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4
81 Default01-Verification R-2 01:17:13 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 36 20 5 0 0 00:04:06 1 5 N/A
10.1.3.2 4 300 16 13 5 0 0 00:03:58 2 5 N/A
10.1.3.3 4 400 19 14 5 0 0 00:03:50 2 5 N/A

Total number of neighbors 3
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.1 4 100
contain string: 10.1.3.2 4 300
contain string: 10.1.3.3 4 400
contain string: Total number of neighbors 3
82 Default01-Verification R-2 01:17:18 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.1.1 0 0 100 i
contain string: *> 10.30.0.0/24 10.1.3.2 0 0 300 i
contain string: *> 10.30.1.0/24 10.1.3.2 0 0 300 i
contain string: *> 10.40.0.0/24 10.1.3.3 0 0 400 i
contain string: *> 10.40.1.0/24 10.1.3.3 0 0 400 i
contain string: Displayed 5 routes and 5 total paths
83 Default01-Verification R-2 01:17:24 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:06:24
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:06:18
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:06:13
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:06:13
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:04:16
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:06:07
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:06:01
K 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:06:01
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:04:08
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:04:08
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:04:00
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:04:00
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:13:38
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:13:38
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12
84 Default01-Verification R-3 01:17:29 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 14 17 5 0 0 00:04:14 3 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
85 Default01-Verification R-3 01:17:35 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.3.1 0 200 100 i
contain string: *> 10.30.0.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.40.0.0/24 10.1.3.3 0 200 400 i
contain string: *> 10.40.1.0/24 10.1.3.3 0 200 400 i
contain string: Displayed 5 routes and 5 total paths
86 Default01-Verification R-3 01:17:40 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:05:49
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:05:44
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:05:44
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:04:24
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:05:38
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:05:33
K 10.30.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:05:33
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:04:16
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:04:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:12:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:12:04
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8
87 Default01-Verification R-4 01:17:46 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 15 20 5 0 0 00:04:22 3 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
88 Default01-Verification R-4 01:17:51 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.3.1 0 200 100 i
contain string: *> 10.30.0.0/24 10.1.3.2 0 200 300 i
contain string: *> 10.30.1.0/24 10.1.3.2 0 200 300 i
contain string: *> 10.40.0.0/24 0.0.0.0 0 32768 i
contain string: *> 10.40.1.0/24 0.0.0.0 0 32768 i
contain string: Displayed 5 routes and 5 total paths
89 Default01-Verification R-4 01:17:56 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:05:15
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:05:21
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:05:21
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:04:32
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:04:32
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:04:32
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:05:10
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:05:04
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:05:04
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:10:32
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:10:32
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8
90 Set access-list deny A.B.C.D R-1 01:18:02 Pass
Parameter ~$ vtysh -c "config" \
-c "access-list 1 deny 10.30.0.0" \
-c "access-list 1 deny 10.40.0.0" \
-c "access-list 1 permit any" \
-c "do show running-config" \
-c "end"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0
access-list 1 seq 10 deny 10.40.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

91 Set distribute-list in R-1 01:18:07 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "neighbor 10.1.1.2 distribute-list 1 in" \
-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Success
92 Verification distribute-list in R-1 01:18:13 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 15
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 21 41 15 0 0 00:05:05 2 3 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 4 200
contain string: Total number of neighbors 1
93 Verification distribute-list in R-1 01:18:18 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 15, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i

Displayed 3 routes and 3 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.1.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.40.1.0/24 10.1.1.2 0 200 400 i
contain string: Displayed 3 routes and 3 total paths
not contain string: *> 10.30.0.0/24 10.1.1.2 0 200 300 i
not contain string: *> 10.40.0.0/24 10.1.1.2 0 200 400 i
94 Verification distribute-list in R-1 01:18:23 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:08:13
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:08:02
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:08:02
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:08:07
K * 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:08:07
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:07:56
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:07:56
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:07:50
K 10.10.2.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:07:50
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:07
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:04:59
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:16:27
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:16:27
Judgement Success

inter-conditional operator : and
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4
95 Delete distribute-list in R-1 01:18:29 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "no neighbor 10.1.1.2 distribute-list 1 in" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0
access-list 1 seq 10 deny 10.40.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

96 Delete access-list R-1 01:18:34 Pass
Parameter ~$ vtysh -c "config" \
-c "no access-list 1" \
-c "do show running-config" \
-c "end"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

97 Default01-Verification R-1 01:18:40 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 17
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 21 46 17 0 0 00:05:32 4 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 4 200
contain string: Total number of neighbors 1
98 Default01-Verification R-1 01:18:45 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 17, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.0.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.30.1.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.40.0.0/24 10.1.1.2 0 200 400 i
contain string: *> 10.40.1.0/24 10.1.1.2 0 200 400 i
contain string: Displayed 5 routes and 5 total paths
99 Default01-Verification R-1 01:18:51 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:08:40
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:08:29
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:08:29
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:08:34
K * 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:08:34
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:08:23
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:08:23
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:08:17
K 10.10.2.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:08:17
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:34
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:16:54
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:16:54
Judgement Success

inter-conditional operator : and
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4
100 Default01-Verification R-2 01:18:56 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 46 21 5 0 0 00:05:49 1 5 N/A
10.1.3.2 4 300 18 15 5 0 0 00:05:41 2 5 N/A
10.1.3.3 4 400 21 16 5 0 0 00:05:33 2 5 N/A

Total number of neighbors 3
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.1 4 100
contain string: 10.1.3.2 4 300
contain string: 10.1.3.3 4 400
contain string: Total number of neighbors 3
101 Default01-Verification R-2 01:19:01 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.1.1 0 0 100 i
contain string: *> 10.30.0.0/24 10.1.3.2 0 0 300 i
contain string: *> 10.30.1.0/24 10.1.3.2 0 0 300 i
contain string: *> 10.40.0.0/24 10.1.3.3 0 0 400 i
contain string: *> 10.40.1.0/24 10.1.3.3 0 0 400 i
contain string: Displayed 5 routes and 5 total paths
102 Default01-Verification R-2 01:19:07 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:08:06
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:08:00
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:07:55
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:07:55
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:05:58
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:07:49
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:07:43
K 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:07:43
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:05:50
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:05:50
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:05:42
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:05:42
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:15:20
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:15:20
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12
103 Default01-Verification R-3 01:19:12 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 15 18 5 0 0 00:05:57 3 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
104 Default01-Verification R-3 01:19:18 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.3.1 0 200 100 i
contain string: *> 10.30.0.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.40.0.0/24 10.1.3.3 0 200 400 i
contain string: *> 10.40.1.0/24 10.1.3.3 0 200 400 i
contain string: Displayed 5 routes and 5 total paths
105 Default01-Verification R-3 01:19:23 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:07:32
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:07:27
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:07:27
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:06:07
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:07:21
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:07:16
K 10.30.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:07:16
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:05:59
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:05:59
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:13:47
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:13:47
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8
106 Default01-Verification R-4 01:19:29 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 17 22 5 0 0 00:06:05 3 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
107 Default01-Verification R-4 01:19:34 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.3.1 0 200 100 i
contain string: *> 10.30.0.0/24 10.1.3.2 0 200 300 i
contain string: *> 10.30.1.0/24 10.1.3.2 0 200 300 i
contain string: *> 10.40.0.0/24 0.0.0.0 0 32768 i
contain string: *> 10.40.1.0/24 0.0.0.0 0 32768 i
contain string: Displayed 5 routes and 5 total paths
108 Default01-Verification R-4 01:19:39 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:06:58
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:07:04
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:07:04
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:06:15
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:06:15
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:06:15
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:06:53
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:06:47
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:06:47
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:12:15
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:12:15
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8
109 Set access-list deny host A.B.C.D R-1 01:19:45 Pass
Parameter ~$ vtysh -c "config" \
-c "access-list 1 deny host 10.30.0.0" \
-c "access-list 1 deny host 10.40.0.0" \
-c "access-list 1 permit any" \
-c "do show running-config" \
-c "end"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0
access-list 1 seq 10 deny 10.40.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

110 Set distribute-list in R-1 01:19:50 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "neighbor 10.1.1.2 distribute-list 1 in" \
-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Success
111 Verification distribute-list in R-1 01:19:56 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 19
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 22 51 19 0 0 00:06:48 2 3 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 4 200
contain string: Total number of neighbors 1
112 Verification distribute-list in R-1 01:20:01 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 19, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i

Displayed 3 routes and 3 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.1.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.40.1.0/24 10.1.1.2 0 200 400 i
contain string: Displayed 3 routes and 3 total paths
not contain string: *> 10.30.0.0/24 10.1.1.2 0 200 300 i
not contain string: *> 10.40.0.0/24 10.1.1.2 0 200 400 i
113 Default01-Verification R-1 01:20:07 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:09:56
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:09:45
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:09:45
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:09:50
K * 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:09:50
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:09:39
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:09:39
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:09:33
K 10.10.2.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:09:33
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:06:50
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:06:42
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:18:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:18:10
Judgement Success

inter-conditional operator : and
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4
114 Default01-Verification R-2 01:20:12 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 52 23 5 0 0 00:07:05 1 5 N/A
10.1.3.2 4 300 19 16 5 0 0 00:06:57 2 5 N/A
10.1.3.3 4 400 22 17 5 0 0 00:06:49 2 5 N/A

Total number of neighbors 3
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.1 4 100
contain string: 10.1.3.2 4 300
contain string: 10.1.3.3 4 400
contain string: Total number of neighbors 3
115 Default01-Verification R-2 01:20:18 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.1.1 0 0 100 i
contain string: *> 10.30.0.0/24 10.1.3.2 0 0 300 i
contain string: *> 10.30.1.0/24 10.1.3.2 0 0 300 i
contain string: *> 10.40.0.0/24 10.1.3.3 0 0 400 i
contain string: *> 10.40.1.0/24 10.1.3.3 0 0 400 i
contain string: Displayed 5 routes and 5 total paths
116 Default01-Verification R-2 01:20:23 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:09:23
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:09:17
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:09:12
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:09:12
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:07:15
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:09:06
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:09:00
K 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:09:00
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:07:07
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:07:07
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:06:59
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:06:59
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:16:37
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:16:37
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12
117 Default01-Verification R-3 01:20:28 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 17 20 5 0 0 00:07:13 3 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
118 Default01-Verification R-3 01:20:34 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.3.1 0 200 100 i
contain string: *> 10.30.0.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.40.0.0/24 10.1.3.3 0 200 400 i
contain string: *> 10.40.1.0/24 10.1.3.3 0 200 400 i
contain string: Displayed 5 routes and 5 total paths
119 Default01-Verification R-3 01:20:39 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:08:48
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:08:43
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:08:43
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:07:23
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:08:37
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:08:32
K 10.30.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:08:32
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:07:15
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:07:15
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:15:03
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:15:03
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8
120 Default01-Verification R-4 01:20:45 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 18 23 5 0 0 00:07:21 3 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
121 Default01-Verification R-4 01:20:50 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.3.1 0 200 100 i
contain string: *> 10.30.0.0/24 10.1.3.2 0 200 300 i
contain string: *> 10.30.1.0/24 10.1.3.2 0 200 300 i
contain string: *> 10.40.0.0/24 0.0.0.0 0 32768 i
contain string: *> 10.40.1.0/24 0.0.0.0 0 32768 i
contain string: Displayed 5 routes and 5 total paths
122 Default01-Verification R-4 01:20:56 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:08:14
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:08:20
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:08:20
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:07:31
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:07:31
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:07:31
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:08:09
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:08:03
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:08:03
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:13:31
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:13:31
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8
123 Set access-list deny A.B.C.D A.B.C.D R-1 01:21:01 Pass
Parameter ~$ vtysh -c "config" \
-c "access-list 1 deny 10.30.0.0 0.0.0.255" \
-c "access-list 1 deny 10.40.0.0 0.0.0.255" \
-c "access-list 1 permit any" \
-c "do show running-config" \
-c "end"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 distribute-list 1 in
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0
access-list 1 seq 10 deny 10.40.0.0
access-list 1 seq 15 permit any
access-list 1 seq 20 deny 10.30.0.0 0.0.0.255
access-list 1 seq 25 deny 10.40.0.0 0.0.0.255
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

124 Set distribute-list in R-1 01:21:06 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "neighbor 10.1.1.2 distribute-list 1 in" \
-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Success
125 Verification distribute-list in R-1 01:21:12 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 19
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 24 56 19 0 0 00:08:05 2 3 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 4 200
contain string: Total number of neighbors 1
126 Verification distribute-list in R-1 01:21:17 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 19, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i

Displayed 3 routes and 3 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.1.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.40.1.0/24 10.1.1.2 0 200 400 i
contain string: Displayed 3 routes and 3 total paths
not contain string: *> 10.30.0.0/24 10.1.1.2 0 200 300 i
not contain string: *> 10.40.0.0/24 10.1.1.2 0 200 400 i
127 Verification distribute-list in R-1 01:21:23 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:11:13
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:11:02
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:11:02
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:11:07
K * 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:11:07
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:10:56
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:10:56
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:10:50
K 10.10.2.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:10:50
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:07
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:07:59
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:19:27
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:19:27
Judgement Success

inter-conditional operator : and
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4
128 Delete distribute-list in R-1 01:21:28 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "no neighbor 10.1.1.2 distribute-list 1 in" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Success
129 Delete access-list R-1 01:21:34 Pass
Parameter ~$ vtysh -c "config" \
-c "no access-list 1" \
-c "do show running-config" \
-c "end"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

130 Default01-Verification R-1 01:21:39 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 21
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 24 61 21 0 0 00:08:32 4 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 4 200
contain string: Total number of neighbors 1
131 Default01-Verification R-1 01:21:45 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 21, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.0.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.30.1.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.40.0.0/24 10.1.1.2 0 200 400 i
contain string: *> 10.40.1.0/24 10.1.1.2 0 200 400 i
contain string: Displayed 5 routes and 5 total paths
132 Default01-Verification R-1 01:21:50 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:11:40
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:11:29
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:11:29
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:11:34
K * 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:11:34
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:11:23
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:11:23
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:11:17
K 10.10.2.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:11:17
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:34
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:19:54
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:19:54
Judgement Success

inter-conditional operator : and
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4
133 Default01-Verification R-2 01:21:55 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 61 24 5 0 0 00:08:48 1 5 N/A
10.1.3.2 4 300 21 18 5 0 0 00:08:40 2 5 N/A
10.1.3.3 4 400 24 19 5 0 0 00:08:32 2 5 N/A

Total number of neighbors 3
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.1 4 100
contain string: 10.1.3.2 4 300
contain string: 10.1.3.3 4 400
contain string: Total number of neighbors 3
134 Default01-Verification R-2 01:22:01 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.1.1 0 0 100 i
contain string: *> 10.30.0.0/24 10.1.3.2 0 0 300 i
contain string: *> 10.30.1.0/24 10.1.3.2 0 0 300 i
contain string: *> 10.40.0.0/24 10.1.3.3 0 0 400 i
contain string: *> 10.40.1.0/24 10.1.3.3 0 0 400 i
contain string: Displayed 5 routes and 5 total paths
135 Default01-Verification R-2 01:22:06 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:11:06
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:11:00
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:10:55
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:10:55
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:08:58
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:10:49
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:10:43
K 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:10:43
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:08:50
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:08:50
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:08:42
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:08:42
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:18:20
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:18:20
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12
136 Default01-Verification R-3 01:22:12 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 18 21 5 0 0 00:08:56 3 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
137 Default01-Verification R-3 01:22:17 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.3.1 0 200 100 i
contain string: *> 10.30.0.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.40.0.0/24 10.1.3.3 0 200 400 i
contain string: *> 10.40.1.0/24 10.1.3.3 0 200 400 i
contain string: Displayed 5 routes and 5 total paths
138 Default01-Verification R-3 01:22:23 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:10:31
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:10:26
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:10:26
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:09:06
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:10:20
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:10:15
K 10.30.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:10:15
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:08:58
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:08:58
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:16:46
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:16:46
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8
139 Default01-Verification R-4 01:22:28 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 20 25 5 0 0 00:09:04 3 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
140 Default01-Verification R-4 01:22:34 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.3.1 0 200 100 i
contain string: *> 10.30.0.0/24 10.1.3.2 0 200 300 i
contain string: *> 10.30.1.0/24 10.1.3.2 0 200 300 i
contain string: *> 10.40.0.0/24 0.0.0.0 0 32768 i
contain string: *> 10.40.1.0/24 0.0.0.0 0 32768 i
contain string: Displayed 5 routes and 5 total paths
141 Default01-Verification R-4 01:22:39 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:09:57
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:10:03
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:10:03
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:09:14
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:09:14
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:09:14
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:09:52
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:09:46
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:09:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:15:14
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:15:14
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8
142 Set access-list deny A.B.C.D R-1 01:22:44 Pass
Parameter ~$ vtysh -c "config" \
-c "access-list 1 deny 10.30.0.0" \
-c "access-list 1 deny 10.40.0.0" \
-c "access-list 1 permit any" \
-c "do show running-config" \
-c "end"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0
access-list 1 seq 10 deny 10.40.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

143 Set distribute-list in R-1 01:22:50 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "neighbor 10.1.1.2 distribute-list 1 in" \
-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Success
144 Verification distribute-list in R-1 01:22:55 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 23
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 25 66 23 0 0 00:09:48 2 3 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 4 200
contain string: Total number of neighbors 1
145 Verification distribute-list in R-1 01:23:01 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 23, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i

Displayed 3 routes and 3 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.1.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.40.1.0/24 10.1.1.2 0 200 400 i
contain string: Displayed 3 routes and 3 total paths
not contain string: *> 10.30.0.0/24 10.1.1.2 0 200 300 i
not contain string: *> 10.40.0.0/24 10.1.1.2 0 200 400 i
146 Verification distribute-list in R-1 01:23:06 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:12:56
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:12:45
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:12:45
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:12:50
K * 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:12:50
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:12:39
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:12:39
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:12:33
K 10.10.2.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:12:33
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:09:50
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:09:42
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:21:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:21:10
Judgement Success

inter-conditional operator : and
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4
147 Delete distribute-list in R-1 01:23:12 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "no neighbor 10.1.1.2 distribute-list 1 in" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0
access-list 1 seq 10 deny 10.40.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

148 Delete access-list R-1 01:23:17 Pass
Parameter ~$ vtysh -c "config" \
-c "no access-list 1" \
-c "do show running-config" \
-c "end"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

149 Default01-Verification R-1 01:23:22 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 25
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 26 72 25 0 0 00:10:15 4 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 4 200
contain string: Total number of neighbors 1
150 Default01-Verification R-1 01:23:28 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 25, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.0.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.30.1.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.40.0.0/24 10.1.1.2 0 200 400 i
contain string: *> 10.40.1.0/24 10.1.1.2 0 200 400 i
contain string: Displayed 5 routes and 5 total paths
151 Default01-Verification R-1 01:23:33 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:13:23
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:13:12
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:13:12
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:13:17
K * 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:13:17
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:13:06
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:13:06
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:13:00
K 10.10.2.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:13:00
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:17
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:09
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:21:37
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:21:37
Judgement Success

inter-conditional operator : and
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4
152 Default01-Verification R-2 01:23:39 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 72 26 5 0 0 00:10:31 1 5 N/A
10.1.3.2 4 300 23 20 5 0 0 00:10:23 2 5 N/A
10.1.3.3 4 400 26 21 5 0 0 00:10:15 2 5 N/A

Total number of neighbors 3
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.1 4 100
contain string: 10.1.3.2 4 300
contain string: 10.1.3.3 4 400
contain string: Total number of neighbors 3
153 Default01-Verification R-2 01:23:44 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.1.1 0 0 100 i
contain string: *> 10.30.0.0/24 10.1.3.2 0 0 300 i
contain string: *> 10.30.1.0/24 10.1.3.2 0 0 300 i
contain string: *> 10.40.0.0/24 10.1.3.3 0 0 400 i
contain string: *> 10.40.1.0/24 10.1.3.3 0 0 400 i
contain string: Displayed 5 routes and 5 total paths
154 Default01-Verification R-2 01:23:50 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:12:49
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:12:43
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:12:38
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:12:38
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:10:41
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:12:32
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:12:26
K 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:12:26
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:10:33
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:10:33
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:10:25
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:10:25
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:20:03
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:20:03
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12
155 Default01-Verification R-3 01:23:55 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 20 23 5 0 0 00:10:40 3 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
156 Default01-Verification R-3 01:24:01 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.3.1 0 200 100 i
contain string: *> 10.30.0.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.40.0.0/24 10.1.3.3 0 200 400 i
contain string: *> 10.40.1.0/24 10.1.3.3 0 200 400 i
contain string: Displayed 5 routes and 5 total paths
157 Default01-Verification R-3 01:24:06 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:12:15
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:12:10
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:12:10
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:10:50
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:12:04
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:11:59
K 10.30.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:11:59
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:10:42
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:10:42
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:18:30
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:18:30
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8
158 Default01-Verification R-4 01:24:11 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 21 26 5 0 0 00:10:48 3 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
159 Default01-Verification R-4 01:24:17 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.3.1 0 200 100 i
contain string: *> 10.30.0.0/24 10.1.3.2 0 200 300 i
contain string: *> 10.30.1.0/24 10.1.3.2 0 200 300 i
contain string: *> 10.40.0.0/24 0.0.0.0 0 32768 i
contain string: *> 10.40.1.0/24 0.0.0.0 0 32768 i
contain string: Displayed 5 routes and 5 total paths
160 Default01-Verification R-4 01:24:22 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:11:41
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:11:47
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:11:47
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:10:58
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:10:58
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:10:58
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:11:36
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:11:30
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:11:30
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:16:58
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:16:58
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8
161 Set access-list deny host A.B.C.D R-1 01:24:28 Pass
Parameter ~$ vtysh -c "config" \
-c "access-list 1 deny host 10.30.0.0" \
-c "access-list 1 deny host 10.40.0.0" \
-c "access-list 1 permit any" \
-c "do show running-config" \
-c "end"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0
access-list 1 seq 10 deny 10.40.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

162 Set distribute-list in R-1 01:24:33 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "neighbor 10.1.1.2 distribute-list 1 in" \
-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Success
163 Verification distribute-list in R-1 01:24:39 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 27
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 27 77 27 0 0 00:11:31 2 3 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 4 200
contain string: Total number of neighbors 1
164 Verification distribute-list in R-1 01:24:44 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 27, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i

Displayed 3 routes and 3 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.1.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.40.1.0/24 10.1.1.2 0 200 400 i
contain string: Displayed 3 routes and 3 total paths
not contain string: *> 10.30.0.0/24 10.1.1.2 0 200 300 i
not contain string: *> 10.40.0.0/24 10.1.1.2 0 200 400 i
165 Verification distribute-list in R-1 01:24:49 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:14:39
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:14:28
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:14:28
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:14:33
K * 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:14:33
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:14:22
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:14:22
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:14:16
K 10.10.2.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:14:16
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:11:33
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:11:25
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:22:53
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:22:53
Judgement Success

inter-conditional operator : and
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4
166 Delete distribute-list in R-1 01:24:55 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "no neighbor 10.1.1.2 distribute-list 1 in" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0
access-list 1 seq 10 deny 10.40.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

167 Delete access-list R-1 01:25:00 Pass
Parameter ~$ vtysh -c "config" \
-c "no access-list 1" \
-c "do show running-config" \
-c "end"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

168 Default01-Verification R-1 01:25:06 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 29
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 27 82 29 0 0 00:11:59 4 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 4 200
contain string: Total number of neighbors 1
169 Default01-Verification R-1 01:25:11 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 29, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.0.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.30.1.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.40.0.0/24 10.1.1.2 0 200 400 i
contain string: *> 10.40.1.0/24 10.1.1.2 0 200 400 i
contain string: Displayed 5 routes and 5 total paths
170 Default01-Verification R-1 01:25:17 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:15:07
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:14:56
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:14:56
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:15:01
K * 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:15:01
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:14:50
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:14:50
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:14:44
K 10.10.2.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:14:44
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:01
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:11:53
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:23:21
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:23:21
Judgement Success

inter-conditional operator : and
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4
171 Default01-Verification R-2 01:25:22 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 83 28 5 0 0 00:12:15 1 5 N/A
10.1.3.2 4 300 25 22 5 0 0 00:12:07 2 5 N/A
10.1.3.3 4 400 27 22 5 0 0 00:11:59 2 5 N/A

Total number of neighbors 3
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.1 4 100
contain string: 10.1.3.2 4 300
contain string: 10.1.3.3 4 400
contain string: Total number of neighbors 3
172 Default01-Verification R-2 01:25:28 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.1.1 0 0 100 i
contain string: *> 10.30.0.0/24 10.1.3.2 0 0 300 i
contain string: *> 10.30.1.0/24 10.1.3.2 0 0 300 i
contain string: *> 10.40.0.0/24 10.1.3.3 0 0 400 i
contain string: *> 10.40.1.0/24 10.1.3.3 0 0 400 i
contain string: Displayed 5 routes and 5 total paths
173 Default01-Verification R-2 01:25:33 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:14:33
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:14:27
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:14:22
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:14:22
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:12:25
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:14:16
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:14:10
K 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:14:10
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:12:17
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:12:17
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:12:09
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:12:09
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:21:47
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:21:47
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12
174 Default01-Verification R-3 01:25:39 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 22 25 5 0 0 00:12:23 3 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
175 Default01-Verification R-3 01:25:44 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.3.1 0 200 100 i
contain string: *> 10.30.0.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.40.0.0/24 10.1.3.3 0 200 400 i
contain string: *> 10.40.1.0/24 10.1.3.3 0 200 400 i
contain string: Displayed 5 routes and 5 total paths
176 Default01-Verification R-3 01:25:50 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:13:58
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:13:53
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:13:53
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:12:33
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:13:47
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:13:42
K 10.30.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:13:42
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:12:25
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:12:25
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:20:13
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:20:13
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8
177 Default01-Verification R-4 01:25:55 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 23 28 5 0 0 00:12:31 3 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
178 Default01-Verification R-4 01:26:00 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.3.1 0 200 100 i
contain string: *> 10.30.0.0/24 10.1.3.2 0 200 300 i
contain string: *> 10.30.1.0/24 10.1.3.2 0 200 300 i
contain string: *> 10.40.0.0/24 0.0.0.0 0 32768 i
contain string: *> 10.40.1.0/24 0.0.0.0 0 32768 i
contain string: Displayed 5 routes and 5 total paths
179 Default01-Verification R-4 01:26:06 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:13:24
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:13:30
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:13:30
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:12:41
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:12:41
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:12:41
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:13:19
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:13:13
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:13:13
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:18:41
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:18:41
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8
180 Set deny A.B.C.D 0.0.0.0 R-1 01:26:11 Pass
Parameter ~$ vtysh -c "config" \
-c "access-list standard1 deny 10.30.0.0 0.0.0.0" \
-c "access-list standard1 deny 10.40.0.0 0.0.0.0" \
-c "access-list standard1 permit any" \
-c "do show running-config" \
-c "end"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0 0.0.0.0
access-list standard1 seq 10 deny 10.40.0.0 0.0.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

181 Set distribute-list in R-1 01:26:17 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "neighbor 10.1.1.2 distribute-list standard1 in" \
-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Success
182 Verification distribute-list in R-1 01:26:22 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 31
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 29 88 31 0 0 00:13:15 2 3 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 4 200
contain string: Total number of neighbors 1
183 Verification distribute-list in R-1 01:26:28 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 31, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i

Displayed 3 routes and 3 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.1.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.40.1.0/24 10.1.1.2 0 200 400 i
contain string: Displayed 3 routes and 3 total paths
not contain string: *> 10.30.0.0/24 10.1.1.2 0 200 300 i
not contain string: *> 10.40.0.0/24 10.1.1.2 0 200 400 i
184 Verification distribute-list in R-1 01:26:33 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:16:23
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:16:12
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:16:12
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:16:17
K * 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:16:17
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:16:06
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:16:06
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:16:00
K 10.10.2.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:16:00
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:13:17
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:13:09
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:24:37
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:24:37
Judgement Success

inter-conditional operator : and
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4
185 Delete distribute-list in R-1 01:26:39 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "no neighbor 10.1.1.2 distribute-list standard1 in" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0 0.0.0.0
access-list standard1 seq 10 deny 10.40.0.0 0.0.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

186 Delete access-list standard R-1 01:26:44 Pass
Parameter ~$ vtysh -c "config" \
-c "no access-list standard1" \
-c "do show running-config" \
-c "end"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

187 Default01-Verification R-1 01:26:49 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 33
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 29 93 33 0 0 00:13:42 4 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 4 200
contain string: Total number of neighbors 1
188 Default01-Verification R-1 01:26:55 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 33, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.0.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.30.1.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.40.0.0/24 10.1.1.2 0 200 400 i
contain string: *> 10.40.1.0/24 10.1.1.2 0 200 400 i
contain string: Displayed 5 routes and 5 total paths
189 Default01-Verification R-1 01:27:00 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:16:50
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:16:39
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:16:39
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:16:44
K * 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:16:44
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:16:33
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:16:33
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:16:27
K 10.10.2.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:16:27
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:13:44
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:13:36
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:25:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:25:04
Judgement Success

inter-conditional operator : and
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4
190 Default01-Verification R-2 01:27:06 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 93 29 5 0 0 00:13:58 1 5 N/A
10.1.3.2 4 300 26 23 5 0 0 00:13:50 2 5 N/A
10.1.3.3 4 400 29 24 5 0 0 00:13:42 2 5 N/A

Total number of neighbors 3
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.1 4 100
contain string: 10.1.3.2 4 300
contain string: 10.1.3.3 4 400
contain string: Total number of neighbors 3
191 Default01-Verification R-2 01:27:11 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.1.1 0 0 100 i
contain string: *> 10.30.0.0/24 10.1.3.2 0 0 300 i
contain string: *> 10.30.1.0/24 10.1.3.2 0 0 300 i
contain string: *> 10.40.0.0/24 10.1.3.3 0 0 400 i
contain string: *> 10.40.1.0/24 10.1.3.3 0 0 400 i
contain string: Displayed 5 routes and 5 total paths
192 Default01-Verification R-2 01:27:17 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:16:16
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:16:10
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:16:05
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:16:05
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:14:08
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:15:59
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:15:53
K 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:15:53
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:14:00
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:14:00
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:13:52
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:13:52
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:23:30
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:23:30
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12
193 Default01-Verification R-3 01:27:22 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 24 27 5 0 0 00:14:07 3 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
194 Default01-Verification R-3 01:27:27 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.3.1 0 200 100 i
contain string: *> 10.30.0.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.40.0.0/24 10.1.3.3 0 200 400 i
contain string: *> 10.40.1.0/24 10.1.3.3 0 200 400 i
contain string: Displayed 5 routes and 5 total paths
195 Default01-Verification R-3 01:27:33 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:15:42
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:15:37
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:15:37
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:14:17
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:15:31
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:15:26
K 10.30.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:15:26
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:14:09
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:14:09
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:21:57
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:21:57
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8
196 Default01-Verification R-4 01:27:38 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 25 30 5 0 0 00:14:15 3 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
197 Default01-Verification R-4 01:27:44 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.3.1 0 200 100 i
contain string: *> 10.30.0.0/24 10.1.3.2 0 200 300 i
contain string: *> 10.30.1.0/24 10.1.3.2 0 200 300 i
contain string: *> 10.40.0.0/24 0.0.0.0 0 32768 i
contain string: *> 10.40.1.0/24 0.0.0.0 0 32768 i
contain string: Displayed 5 routes and 5 total paths
198 Default01-Verification R-4 01:27:49 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:15:07
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:15:13
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:15:13
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:14:24
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:14:24
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:14:24
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:15:02
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:14:56
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:14:56
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:20:24
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:20:24
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8
199 Set deny A.B.C.D A.B.C.D R-1 01:27:55 Pass
Parameter ~$ vtysh -c "config" \
-c "access-list standard1 deny 10.30.0.0 0.0.0.255" \
-c "access-list standard1 deny 10.40.0.0 0.0.0.255" \
-c "access-list standard1 permit any" \
-c "do show running-config" \
-c "end"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0 0.0.0.255
access-list standard1 seq 10 deny 10.40.0.0 0.0.0.255
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

200 Set distribute-list in R-1 01:28:00 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "neighbor 10.1.1.2 distribute-list standard1 in" \
-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Success
201 Verification distribute-list in R-1 01:28:05 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 35
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 30 98 35 0 0 00:14:58 2 3 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 4 200
contain string: Total number of neighbors 1
202 Verification distribute-list in R-1 01:28:11 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 35, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i

Displayed 3 routes and 3 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.1.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.40.1.0/24 10.1.1.2 0 200 400 i
contain string: Displayed 3 routes and 3 total paths
not contain string: *> 10.30.0.0/24 10.1.1.2 0 200 300 i
not contain string: *> 10.40.0.0/24 10.1.1.2 0 200 400 i
203 Verification distribute-list in R-1 01:28:16 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:18:06
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:17:55
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:17:55
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:18:00
K * 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:18:00
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:17:49
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:17:49
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:17:43
K 10.10.2.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:17:43
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:15:00
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:14:52
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:26:20
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:26:20
Judgement Success

inter-conditional operator : and
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4
204 Delete distribute-list in R-1 01:28:22 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "no neighbor 10.1.1.2 distribute-list standard1 in" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0 0.0.0.255
access-list standard1 seq 10 deny 10.40.0.0 0.0.0.255
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

205 Delete access-list standard R-1 01:28:27 Pass
Parameter ~$ vtysh -c "config" \
-c "no access-list standard1" \
-c "do show running-config" \
-c "end"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

206 Default01-Verification R-1 01:28:33 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 37
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 31 104 37 0 0 00:15:25 4 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 4 200
contain string: Total number of neighbors 1
207 Default01-Verification R-1 01:28:38 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 37, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.0.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.30.1.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.40.0.0/24 10.1.1.2 0 200 400 i
contain string: *> 10.40.1.0/24 10.1.1.2 0 200 400 i
contain string: Displayed 5 routes and 5 total paths
208 Default01-Verification R-1 01:28:44 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:18:33
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:18:22
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:18:22
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:18:27
K * 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:18:27
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:18:16
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:18:16
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:18:10
K 10.10.2.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:18:10
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:15:27
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:15:19
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:26:47
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:26:47
Judgement Success

inter-conditional operator : and
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4
209 Default01-Verification R-2 01:28:49 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 104 31 5 0 0 00:15:42 1 5 N/A
10.1.3.2 4 300 28 25 5 0 0 00:15:34 2 5 N/A
10.1.3.3 4 400 31 26 5 0 0 00:15:26 2 5 N/A

Total number of neighbors 3
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.1 4 100
contain string: 10.1.3.2 4 300
contain string: 10.1.3.3 4 400
contain string: Total number of neighbors 3
210 Default01-Verification R-2 01:28:54 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.1.1 0 0 100 i
contain string: *> 10.30.0.0/24 10.1.3.2 0 0 300 i
contain string: *> 10.30.1.0/24 10.1.3.2 0 0 300 i
contain string: *> 10.40.0.0/24 10.1.3.3 0 0 400 i
contain string: *> 10.40.1.0/24 10.1.3.3 0 0 400 i
contain string: Displayed 5 routes and 5 total paths
211 Default01-Verification R-2 01:29:00 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:18:00
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:17:54
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:17:49
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:17:49
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:15:52
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:17:43
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:17:37
K 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:17:37
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:15:44
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:15:44
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:15:36
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:15:36
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:25:14
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:25:14
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12
212 Default01-Verification R-3 01:29:05 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 25 28 5 0 0 00:15:50 3 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
213 Default01-Verification R-3 01:29:11 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.3.1 0 200 100 i
contain string: *> 10.30.0.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.40.0.0/24 10.1.3.3 0 200 400 i
contain string: *> 10.40.1.0/24 10.1.3.3 0 200 400 i
contain string: Displayed 5 routes and 5 total paths
214 Default01-Verification R-3 01:29:17 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:17:25
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:17:20
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:17:20
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:16:00
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:17:14
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:17:09
K 10.30.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:17:09
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:15:52
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:15:52
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:23:40
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:23:40
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8
215 Default01-Verification R-4 01:29:22 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 26 31 5 0 0 00:15:58 3 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
216 Default01-Verification R-4 01:29:27 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.3.1 0 200 100 i
contain string: *> 10.30.0.0/24 10.1.3.2 0 200 300 i
contain string: *> 10.30.1.0/24 10.1.3.2 0 200 300 i
contain string: *> 10.40.0.0/24 0.0.0.0 0 32768 i
contain string: *> 10.40.1.0/24 0.0.0.0 0 32768 i
contain string: Displayed 5 routes and 5 total paths
217 Default01-Verification R-4 01:29:33 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:16:51
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:16:57
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:16:57
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:16:08
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:16:08
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:16:08
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:16:46
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:16:40
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:16:40
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:22:08
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:22:08
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8
218 Set deny A.B.C.D R-1 01:29:38 Pass
Parameter ~$ vtysh -c "config" \
-c "access-list standard1 deny 10.30.0.0" \
-c "access-list standard1 deny 10.40.0.0" \
-c "access-list standard1 permit any" \
-c "do show running-config" \
-c "end"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0
access-list standard1 seq 10 deny 10.40.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

219 Set distribute-list in R-1 01:29:44 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "neighbor 10.1.1.2 distribute-list standard1 in" \
-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Success
220 Verification distribute-list in R-1 01:29:49 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 39
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 32 109 39 0 0 00:16:42 2 3 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 4 200
contain string: Total number of neighbors 1
221 Verification distribute-list in R-1 01:29:54 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 39, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i

Displayed 3 routes and 3 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.1.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.40.1.0/24 10.1.1.2 0 200 400 i
contain string: Displayed 3 routes and 3 total paths
not contain string: *> 10.30.0.0/24 10.1.1.2 0 200 300 i
not contain string: *> 10.40.0.0/24 10.1.1.2 0 200 400 i
222 Verification distribute-list in R-1 01:30:00 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:19:50
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:19:39
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:19:39
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:19:44
K * 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:19:44
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:19:33
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:19:33
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:19:27
K 10.10.2.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:19:27
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:16:44
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:16:36
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:28:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:28:04
Judgement Success

inter-conditional operator : and
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4
223 Delete distribute-list in R-1 01:30:05 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "no neighbor 10.1.1.2 distribute-list standard1 in" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0
access-list standard1 seq 10 deny 10.40.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

224 Delete access-list standard R-1 01:30:11 Pass
Parameter ~$ vtysh -c "config" \
-c "no access-list standard1" \
-c "do show running-config" \
-c "end"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

225 Default01-Verification R-1 01:30:16 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 41
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 33 115 41 0 0 00:17:09 4 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 4 200
contain string: Total number of neighbors 1
226 Default01-Verification R-1 01:30:22 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 41, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.0.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.30.1.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.40.0.0/24 10.1.1.2 0 200 400 i
contain string: *> 10.40.1.0/24 10.1.1.2 0 200 400 i
contain string: Displayed 5 routes and 5 total paths
227 Default01-Verification R-1 01:30:27 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:20:17
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:20:06
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:20:06
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:20:11
K * 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:20:11
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:20:00
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:20:00
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:19:54
K 10.10.2.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:19:54
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:17:11
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:17:03
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:28:31
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:28:31
Judgement Success

inter-conditional operator : and
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4
228 Default01-Verification R-2 01:30:32 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 115 33 5 0 0 00:17:25 1 5 N/A
10.1.3.2 4 300 30 27 5 0 0 00:17:17 2 5 N/A
10.1.3.3 4 400 33 28 5 0 0 00:17:09 2 5 N/A

Total number of neighbors 3
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.1 4 100
contain string: 10.1.3.2 4 300
contain string: 10.1.3.3 4 400
contain string: Total number of neighbors 3
229 Default01-Verification R-2 01:30:38 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.1.1 0 0 100 i
contain string: *> 10.30.0.0/24 10.1.3.2 0 0 300 i
contain string: *> 10.30.1.0/24 10.1.3.2 0 0 300 i
contain string: *> 10.40.0.0/24 10.1.3.3 0 0 400 i
contain string: *> 10.40.1.0/24 10.1.3.3 0 0 400 i
contain string: Displayed 5 routes and 5 total paths
230 Default01-Verification R-2 01:30:43 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:19:43
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:19:37
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:19:32
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:19:32
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:17:35
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:19:26
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:19:20
K 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:19:20
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:17:27
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:17:27
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:17:19
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:17:19
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:26:57
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:26:57
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12
231 Default01-Verification R-3 01:30:49 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 27 30 5 0 0 00:17:33 3 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
232 Default01-Verification R-3 01:30:54 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.3.1 0 200 100 i
contain string: *> 10.30.0.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.40.0.0/24 10.1.3.3 0 200 400 i
contain string: *> 10.40.1.0/24 10.1.3.3 0 200 400 i
contain string: Displayed 5 routes and 5 total paths
233 Default01-Verification R-3 01:31:00 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:19:08
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:19:03
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:19:03
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:17:43
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:18:57
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:18:52
K 10.30.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:18:52
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:17:35
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:17:35
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:25:23
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:25:23
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8
234 Default01-Verification R-4 01:31:05 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 28 33 5 0 0 00:17:41 3 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
235 Default01-Verification R-4 01:31:11 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.3.1 0 200 100 i
contain string: *> 10.30.0.0/24 10.1.3.2 0 200 300 i
contain string: *> 10.30.1.0/24 10.1.3.2 0 200 300 i
contain string: *> 10.40.0.0/24 0.0.0.0 0 32768 i
contain string: *> 10.40.1.0/24 0.0.0.0 0 32768 i
contain string: Displayed 5 routes and 5 total paths
236 Default01-Verification R-4 01:31:16 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:18:34
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:18:40
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:18:40
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:17:51
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:17:51
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:17:51
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:18:29
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:18:23
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:18:23
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:23:51
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:23:51
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8
237 Set deny host A.B.C.D R-1 01:31:21 Pass
Parameter ~$ vtysh -c "config" \
-c "access-list standard1 deny host 10.30.0.0" \
-c "access-list standard1 deny host 10.40.0.0" \
-c "access-list standard1 permit any" \
-c "do show running-config" \
-c "end"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0
access-list standard1 seq 10 deny 10.40.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

238 Set distribute-list in R-1 01:31:27 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "neighbor 10.1.1.2 distribute-list standard1 in" \
-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Success
239 Verification distribute-list in R-1 01:31:32 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 43
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 34 120 43 0 0 00:18:25 2 3 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 4 200
contain string: Total number of neighbors 1
240 Verification distribute-list in R-1 01:31:38 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 43, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i

Displayed 3 routes and 3 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.1.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.40.1.0/24 10.1.1.2 0 200 400 i
contain string: Displayed 3 routes and 3 total paths
not contain string: *> 10.30.0.0/24 10.1.1.2 0 200 300 i
not contain string: *> 10.40.0.0/24 10.1.1.2 0 200 400 i
241 Verification distribute-list in R-1 01:31:43 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:21:33
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:21:22
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:21:22
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:21:27
K * 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:21:27
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:21:16
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:21:16
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:21:10
K 10.10.2.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:21:10
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:18:27
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:18:19
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:29:47
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:29:47
Judgement Success

inter-conditional operator : and
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4
242 Delete distribute-list in R-1 01:31:49 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "no neighbor 10.1.1.2 distribute-list standard1 in" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0
access-list standard1 seq 10 deny 10.40.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

243 Delete access-list standard R-1 01:31:54 Pass
Parameter ~$ vtysh -c "config" \
-c "no access-list standard1" \
-c "do show running-config" \
-c "end"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

244 Default01-Verification R-1 01:31:59 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 45
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 34 125 45 0 0 00:18:52 4 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 4 200
contain string: Total number of neighbors 1
245 Default01-Verification R-1 01:32:05 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 45, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.0.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.30.1.0/24 10.1.1.2 0 200 300 i
contain string: *> 10.40.0.0/24 10.1.1.2 0 200 400 i
contain string: *> 10.40.1.0/24 10.1.1.2 0 200 400 i
contain string: Displayed 5 routes and 5 total paths
246 Default01-Verification R-1 01:32:10 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:22:00
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:21:49
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:21:49
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:21:54
K * 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:21:54
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:21:43
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:21:43
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:21:37
K 10.10.2.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:21:37
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:18:54
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:18:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:30:14
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:30:14
Judgement Success

inter-conditional operator : and
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4
247 Default01-Verification R-2 01:32:16 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 126 35 5 0 0 00:19:08 1 5 N/A
10.1.3.2 4 300 32 29 5 0 0 00:19:00 2 5 N/A
10.1.3.3 4 400 34 29 5 0 0 00:18:52 2 5 N/A

Total number of neighbors 3
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.1 4 100
contain string: 10.1.3.2 4 300
contain string: 10.1.3.3 4 400
contain string: Total number of neighbors 3
248 Default01-Verification R-2 01:32:21 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.1.1 0 0 100 i
contain string: *> 10.30.0.0/24 10.1.3.2 0 0 300 i
contain string: *> 10.30.1.0/24 10.1.3.2 0 0 300 i
contain string: *> 10.40.0.0/24 10.1.3.3 0 0 400 i
contain string: *> 10.40.1.0/24 10.1.3.3 0 0 400 i
contain string: Displayed 5 routes and 5 total paths
249 Default01-Verification R-2 01:32:27 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:21:26
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:21:20
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:21:15
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:21:15
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:19:18
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:21:09
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:21:03
K 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:21:03
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:19:10
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:19:10
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:19:02
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:19:02
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:28:40
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:28:40
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12
250 Default01-Verification R-3 01:32:32 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 29 32 5 0 0 00:19:17 3 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
251 Default01-Verification R-3 01:32:38 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.3.1 0 200 100 i
contain string: *> 10.30.0.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.40.0.0/24 10.1.3.3 0 200 400 i
contain string: *> 10.40.1.0/24 10.1.3.3 0 200 400 i
contain string: Displayed 5 routes and 5 total paths
252 Default01-Verification R-3 01:32:43 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:20:52
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:20:47
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:20:47
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:19:27
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:20:41
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:20:36
K 10.30.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:20:36
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:19:19
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:19:19
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:27:07
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:27:07
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8
253 Default01-Verification R-4 01:32:48 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 30 35 5 0 0 00:19:25 3 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
254 Default01-Verification R-4 01:32:54 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.3.1 0 200 100 i
contain string: *> 10.30.0.0/24 10.1.3.2 0 200 300 i
contain string: *> 10.30.1.0/24 10.1.3.2 0 200 300 i
contain string: *> 10.40.0.0/24 0.0.0.0 0 32768 i
contain string: *> 10.40.1.0/24 0.0.0.0 0 32768 i
contain string: Displayed 5 routes and 5 total paths
255 Default01-Verification R-4 01:32:59 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:20:18
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:20:24
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:20:24
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:19:35
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:19:35
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:19:35
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:20:13
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:20:07
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:20:07
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:25:35
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:25:35
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8
256 Delete R-1 01:33:05 Pass
Parameter ~$ vtysh -c "config" \
-c "no router bgp 100" \
-c "do show running-config" \
-c "end"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

257 Delete R-2 01:33:10 Pass
Parameter ~$ vtysh -c "config" \
-c "no router bgp 200" \
-c "do show running-config" \
-c "end"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

258 Delete R-3 01:33:16 Pass
Parameter ~$ vtysh -c "config" \
-c "no router bgp 300" \
-c "do show running-config" \
-c "end"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

259 Delete R-4 01:33:21 Pass
Parameter ~$ vtysh -c "config" \
-c "no router bgp 400" \
-c "do show running-config" \
-c "end"
Response Building configuration...

Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and