TEST REPORT

SUMMARY

Description               "scenario_bgp_policy_distribute_list_out" result report

Start Time                   2026-10-03T01:41:06.044347

Index Scenario Time Stamp Pass/Fail
1 Print Topology Image 01:42:04 1 / 0
2 Session Check 01:42:04 4 / 0
3 IP Assign for BGP Func Test 01:42:04 30 / 0
4 Distribute List Out Function 01:45:15 172 / 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:42:04 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:42:04 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 01:09:32 2026 from 10.250.0.1

admin@R-1:~$
3 session Check R-2 R-2 01:42:04 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 01:09:35 2026 from 10.250.0.1

admin@R-2:~$
4 session Check R-3 R-3 01:42:04 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 01:09:37 2026 from 10.250.0.1

admin@R-3:~$
5 session Check R-4 R-4 01:42:04 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 01:09:39 2026 from 10.250.0.1

admin@R-4:~$
 
6 Assign IPv4 on R-1 R-1 01:42:04 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 01:42:02 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:42:12 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 01:42:10 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:42:19 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 01:42:17 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:42:26 Pass
Parameter ~$ sudo config interface ip add Ethernet4 10.1.1.1/30
Response Success
10 Assign IPv4 on R-1 R-1 01:42:32 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.1.9/30
Response Success
11 Assign IPv4 on R-1 R-1 01:42:38 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.1.1.5/30
Response Success
12 Assign IPv4 on R-1 R-1 01:42:43 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.10.1.1/24
Response Success
13 Assign IPv4 on R-1 R-1 01:42:49 Pass
Parameter ~$ sudo config interface ip add Ethernet20 10.10.2.1/24
Response Success
14 Assign IPv4 on R-2 R-2 01:42:55 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 01:42:54 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:43:02 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 01:43:01 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:43:09 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 01:43:09 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:43:17 Pass
Parameter ~$ sudo config interface ip add Ethernet4 10.1.1.2/30
Response Success
18 Assign IPv4 on R-2 R-2 01:43:22 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.1.6/30
Response Success
19 Assign IPv4 on R-2 R-2 01:43:28 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.1.3.1/24
Response Success
20 Assign IPv4 on R-2 R-2 01:43:34 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.20.0.1/24
Response Success
21 Assign IPv4 on R-2 R-2 01:43:39 Pass
Parameter ~$ sudo config interface ip add Ethernet20 10.20.1.1/24
Response Success
22 Assign IPv4 on R-3 R-3 01:43:45 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 01:43:44 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:43:52 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 01:43:52 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:44:00 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 01:43:59 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:44:07 Pass
Parameter ~$ sudo config interface ip add Ethernet0 10.1.1.10/30
Response Success
26 Assign IPv4 on R-3 R-3 01:44:13 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.3.2/24
Response Success
27 Assign IPv4 on R-3 R-3 01:44:18 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.30.0.1/24
Response Success
28 Assign IPv4 on R-3 R-3 01:44:24 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.30.1.1/24
Response Success
29 Assign IPv4 on R-4 R-4 01:44:30 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 01:44:29 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:44:38 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 01:44:37 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:44:45 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 01:44:44 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:44:53 Pass
Parameter ~$ sudo config interface ip add Ethernet4 10.1.4.1/24
Response Success
33 Assign IPv4 on R-4 R-4 01:44:58 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.3.3/24
Response Success
34 Assign IPv4 on R-4 R-4 01:45:04 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.40.0.1/24
Response Success
35 Assign IPv4 on R-4 R-4 01:45:09 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.40.1.1/24
Response Success
 
36 Default01-Set R-1 01:45:15 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:45:23 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:45:31 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:45:39 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:45: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 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:22 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:45:52 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:45: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:03:31
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:03:31
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:03:19
C>* 10.1.1.8/30 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
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:24
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:24
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:11:19
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:11:19
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:46:03 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:38 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:46:08 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:46: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.0/30 is directly connected, Ethernet4, weight 1, 00:02:56
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:02:56
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:02:51
K 10.1.1.4/30 [0/0] is directly connected, Ethernet8, weight 1, 00:02:51
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:02:45
K * 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:02:45
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:48
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
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:09:48
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:09:48
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:46:19 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:46:25 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:46: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.1.8/30 is directly connected, Ethernet0, weight 1, 00:02:23
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:02:23
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:12
K 10.30.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:02:12
C>* 10.30.1.0/24 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:46:35 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: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
50 Default01-Verification R-4 01:46:41 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:46:46 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
K 10.1.3.0/24 [0/0] 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:06
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:06
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:06
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
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:07:02
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:07:02
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-2 01:46:52 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-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
!
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 out R-2 01:46:57 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "neighbor 10.1.1.1 distribute-list 1 out" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.1 soft out"
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 distribute-list 1 out
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
!
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 out R-1 01:47:03 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 5, using 640 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 15 11 7 0 0 00:01:38 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 out R-1 01:47:08 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 out R-1 01:47: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.1.0/30 is directly connected, Ethernet4, weight 1, 00:04:47
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:04:47
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:04:35
C>* 10.1.1.8/30 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
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:40
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:32
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:12:35
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:12:35
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 out R-2 01:47:19 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "no neighbor 10.1.1.1 distribute-list 1 out" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.1 soft out"
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
!
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

58 Delete access-list R-2 01:47:24 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-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

59 Default01-Verification R-1 01:47: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 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 19 14 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:47:35 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:47: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:05:14
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:05:14
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:05:02
C>* 10.1.1.8/30 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
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:02:07
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:01:59
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:13:02
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:13:02
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:47: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 14 19 5 0 0 00:02:22 1 5 N/A
10.1.3.2 4 300 15 12 5 0 0 00:02:15 2 5 N/A
10.1.3.3 4 400 18 13 5 0 0 00:02:07 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:47: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
64 Default01-Verification R-2 01:47: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:40
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:04:40
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:04:35
K 10.1.1.4/30 [0/0] is directly connected, Ethernet8, weight 1, 00:04:35
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:24
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:04:18
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:02:25
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:02:25
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:02:17
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:02:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:11:32
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:11:32
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:48:02 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:48: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
67 Default01-Verification R-3 01:48: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.1.8/30 is directly connected, Ethernet0, weight 1, 00:04:06
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:04:06
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:55
K 10.30.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:03:55
C>* 10.30.1.0/24 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:48: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 13 18 5 0 0 00:02:39 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:48:24 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:48: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:03:31
K 10.1.3.0/24 [0/0] 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:49
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:02:49
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:02:49
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
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:08:45
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:08:45
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-2 01:48:35 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-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
!
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 out R-2 01:48:41 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "neighbor 10.1.1.1 distribute-list 1 out" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.1 soft out"
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 distribute-list 1 out
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
!
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

73 Verification distribute-list out R-1 01:48: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 11
RIB entries 5, using 640 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 16 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 out R-1 01:48:51 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 out R-1 01:48: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:06:31
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:06:31
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:06:19
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:06:25
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:06:14
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:06:14
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:06:08
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:19
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:14:19
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 out R-2 01:49:02 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "no neighbor 10.1.1.1 distribute-list 1 out" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.1 soft out"
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
!
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

77 Delete access-list R-2 01:49: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-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

78 Default01-Verification R-1 01:49: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 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 27 18 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:49:19 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:49: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:58
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:06:58
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:06:46
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:06:52
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:06:41
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:06:41
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:06:35
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:14:46
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:14:46
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:49:29 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 19 28 5 0 0 00:04:05 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:49: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
83 Default01-Verification R-2 01:49: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:23
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:06:23
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:06:18
K 10.1.1.4/30 [0/0] is directly connected, Ethernet8, weight 1, 00:06:18
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:06:12
K * 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:06:12
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:04:15
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
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:15
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:13:15
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:49: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 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:49: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
86 Default01-Verification R-3 01:49: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:05:49
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:05:49
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:05:43
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:05:43
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:04:23
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:05:38
K 10.30.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:05:38
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:05:32
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:04:15
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:04:15
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:12:03
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:12: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
87 Default01-Verification R-4 01:50: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 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:50:07 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:50: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:05:14
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:05:14
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:05:20
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:05:20
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:09
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:05:03
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:10:28
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:10:28
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-2 01:50:18 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-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
!
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 out R-2 01:50:24 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "neighbor 10.1.1.1 distribute-list 1 out" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.1 soft out"
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 distribute-list 1 out
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
!
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

92 Verification distribute-list out R-1 01:50: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 15
RIB entries 5, using 640 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 21 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 out R-1 01:50:35 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 out R-1 01:50: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:08:14
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:08:14
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:08:02
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:08:08
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:07:57
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:07:57
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:07:51
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:02
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:16:02
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 out R-2 01:50:45 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "no neighbor 10.1.1.1 distribute-list 1 out" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.1 soft out"
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
!
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-2 01:50: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-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

97 Default01-Verification R-1 01:50: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 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 36 23 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:51:02 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:51: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:41
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:08:41
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:08:29
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:08:35
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:08:24
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:08:24
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:08:18
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:05: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:05:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:16:29
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:16:29
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:51: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 23 36 5 0 0 00:05:48 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:51: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
102 Default01-Verification R-2 01:51: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:06
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:08:06
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:08:01
K 10.1.1.4/30 [0/0] is directly connected, Ethernet8, weight 1, 00:08:01
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:50
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:07:44
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:05:51
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:05:51
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:05:43
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:05:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:14:58
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:14:58
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:51: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 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:51: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
105 Default01-Verification R-3 01:51: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:07:32
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:07:32
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:07:26
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:07:26
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:06:06
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:07:21
K 10.30.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:07:21
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:07:15
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:05:58
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:05:58
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:13:46
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:13: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
106 Default01-Verification R-4 01:51: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 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:51: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
108 Default01-Verification R-4 01:51: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:06:57
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:06:57
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:07:03
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:07:03
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:52
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:06:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:12:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:12:11
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-2 01:52:01 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-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
!
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 out R-2 01:52:07 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "neighbor 10.1.1.1 distribute-list 1 out" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.1 soft out"
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 distribute-list 1 out
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
!
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

111 Verification distribute-list out R-1 01:52: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 5, using 640 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 41 25 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 out R-1 01:52:18 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 Verification distribute-list out R-1 01:52: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:57
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:09:57
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:09:45
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:09:51
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:09:40
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:09:40
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:09:34
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:17:45
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:17:45
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 Delete distribute-list out R-2 01:52:29 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "no neighbor 10.1.1.1 distribute-list 1 out" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.1 soft out"
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
!
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

115 Delete access-list R-2 01:52: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-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

116 Default01-Verification R-1 01:52: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 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 45 28 21 0 0 00:07:16 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
117 Default01-Verification R-1 01:52: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
118 Default01-Verification R-1 01:52: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:10:24
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:10:24
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:10:12
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:10:18
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:10:07
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:10:07
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:10:01
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:07:17
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:07:09
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:18:12
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:18:12
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
119 Default01-Verification R-2 01:52: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 28 45 5 0 0 00:07:32 1 5 N/A
10.1.3.2 4 300 20 17 5 0 0 00:07:25 2 5 N/A
10.1.3.3 4 400 23 18 5 0 0 00:07:17 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
120 Default01-Verification R-2 01:53: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
121 Default01-Verification R-2 01:53: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:50
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:09:50
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:09:45
K 10.1.1.4/30 [0/0] is directly connected, Ethernet8, weight 1, 00:09:45
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:09:39
K * 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:09:39
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:07:42
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:09:34
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:09:28
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:07:35
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:07:35
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:07:27
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:07:27
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:16:42
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:16:42
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
122 Default01-Verification R-3 01:53: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 17 20 5 0 0 00:07: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
123 Default01-Verification R-3 01:53: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
124 Default01-Verification R-3 01:53: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:09:16
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:09:16
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:09:10
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:09:10
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:07:50
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:09:05
K 10.30.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:09:05
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:08:59
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:07:42
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:07:42
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:15:30
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:15: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
125 Default01-Verification R-4 01:53: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 18 23 5 0 0 00:07:49 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
126 Default01-Verification R-4 01:53: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
127 Default01-Verification R-4 01:53: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:08:41
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:08:41
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:08:47
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:08:47
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:07:59
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:07:59
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:07:59
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:08:36
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:08:30
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:13:55
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:13:55
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
128 Set deny A.B.C.D 0.0.0.0 R-2 01:53:45 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-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
!
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

129 Set distribute-list out R-2 01:53:50 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "neighbor 10.1.1.1 distribute-list standard1 out" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.1 soft out"
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 distribute-list standard1 out
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
!
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

130 Verification distribute-list out R-1 01:53: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 23
RIB entries 5, using 640 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 50 30 23 0 0 00:08:32 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
131 Verification distribute-list out R-1 01:54: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
132 Verification distribute-list out R-1 01:54: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:11:40
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:11:40
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:11:28
C>* 10.1.1.8/30 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
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:33
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:25
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:19:28
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:19:28
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
133 Delete distribute-list out R-2 01:54:12 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "no neighbor 10.1.1.1 distribute-list standard1 out" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.1 soft out"
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
!
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

134 Delete access-list standard R-2 01:54:18 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-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

135 Default01-Verification R-1 01:54:23 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 53 32 25 0 0 00:08: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
136 Default01-Verification R-1 01:54: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
137 Default01-Verification R-1 01:54:34 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:07
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:12:07
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:11:55
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:12:01
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:11:50
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:11:50
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:11:44
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:09:00
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:08:52
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:19:55
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:19:55
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
138 Default01-Verification R-2 01:54: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 33 54 5 0 0 00:09:15 1 5 N/A
10.1.3.2 4 300 22 19 5 0 0 00:09:08 2 5 N/A
10.1.3.3 4 400 24 19 5 0 0 00:09:00 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
139 Default01-Verification R-2 01:54:45 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
140 Default01-Verification R-2 01:54: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:33
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:11:33
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:11:28
K 10.1.1.4/30 [0/0] is directly connected, Ethernet8, weight 1, 00:11:28
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:11:22
K * 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:11:22
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:09:25
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:11:17
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:11:11
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:09:18
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:09:18
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:09:10
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:09:10
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:18:25
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:18:25
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
141 Default01-Verification R-3 01:54: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 19 22 5 0 0 00:09:24 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
142 Default01-Verification R-3 01:55: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
143 Default01-Verification R-3 01:55: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:10:59
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:10:59
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:10:53
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:10:53
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:09:33
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:10:48
K 10.30.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:10:48
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:10:42
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:09:25
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:09:25
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:17:13
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:17: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
144 Default01-Verification R-4 01:55:12 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:32 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
145 Default01-Verification R-4 01:55: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
146 Default01-Verification R-4 01:55: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.3.0/24 is directly connected, Ethernet8, weight 1, 00:10:24
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:10:24
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:10:30
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:10:30
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:09:42
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:09:42
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:09:42
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:10:19
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:10:13
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:15:38
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:15:38
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
147 Set deny A.B.C.D A.B.C.D R-2 01:55:28 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-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
!
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

148 Set distribute-list out R-2 01:55:33 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "neighbor 10.1.1.1 distribute-list standard1 out" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.1 soft out"
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 distribute-list standard1 out
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
!
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

149 Verification distribute-list out R-1 01:55: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 5, using 640 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 59 35 27 0 0 00:10: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
150 Verification distribute-list out R-1 01:55: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
151 Verification distribute-list out R-1 01:55: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:13:23
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:13:23
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:13:11
C>* 10.1.1.8/30 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
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:16
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:08
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:21:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:21:11
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
152 Delete distribute-list out R-2 01:55:55 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "no neighbor 10.1.1.1 distribute-list standard1 out" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.1 soft out"
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
!
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

153 Delete access-list standard R-2 01:56:01 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-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

154 Default01-Verification R-1 01:56: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 62 37 29 0 0 00:10: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
155 Default01-Verification R-1 01:56:12 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
156 Default01-Verification R-1 01:56: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:13:51
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:13:51
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:13:39
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:13:45
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:13:34
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:13:34
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:13:28
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: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:10:36
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:21:39
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:21:39
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
157 Default01-Verification R-2 01:56: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 37 62 5 0 0 00:10:58 1 5 N/A
10.1.3.2 4 300 23 20 5 0 0 00:10:51 2 5 N/A
10.1.3.3 4 400 26 21 5 0 0 00:10:43 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
158 Default01-Verification R-2 01:56: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
159 Default01-Verification R-2 01:56: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:16
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:13:16
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:13:11
K 10.1.1.4/30 [0/0] is directly connected, Ethernet8, weight 1, 00:13:11
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:13:05
K * 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:13:05
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:11:08
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:13:00
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:12:54
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:11:01
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:11:01
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:10:53
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:10:53
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:20:08
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:20:08
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
160 Default01-Verification R-3 01:56: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 21 24 5 0 0 00:11:08 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
161 Default01-Verification R-3 01:56: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
162 Default01-Verification R-3 01:56: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:12:42
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:12:42
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:12:36
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:12:36
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:11:16
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:12:31
K 10.30.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:12:31
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:12:25
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:11:08
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:11:08
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:18:56
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:18:56
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
163 Default01-Verification R-4 01:56: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 22 27 5 0 0 00:11:16 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
164 Default01-Verification R-4 01:57:01 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
165 Default01-Verification R-4 01:57: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:12:07
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:12:07
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:12:13
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:12:13
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:11:25
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:11:25
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:11:25
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:12:02
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:11:56
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:17:21
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:17:21
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
166 Set deny A.B.C.D R-2 01:57:12 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-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
!
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

167 Set distribute-list out R-2 01:57:17 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "neighbor 10.1.1.1 distribute-list standard1 out" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.1 soft out"
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 distribute-list standard1 out
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
!
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

168 Verification distribute-list out R-1 01:57: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 5, using 640 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 67 39 31 0 0 00:11: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
169 Verification distribute-list out R-1 01:57: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
170 Verification distribute-list out R-1 01:57: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:15:07
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:15:07
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:14:55
C>* 10.1.1.8/30 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
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:00
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:11:52
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:22:55
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:22:55
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
171 Delete distribute-list out R-2 01:57:39 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "no neighbor 10.1.1.1 distribute-list standard1 out" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.1 soft out"
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
!
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

172 Delete access-list standard R-2 01:57: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-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

173 Default01-Verification R-1 01:57:50 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 71 42 33 0 0 00:12: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
174 Default01-Verification R-1 01:57: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
175 Default01-Verification R-1 01:58: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:15:34
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:15:34
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:15:22
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:15:28
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:15:17
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:15:17
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:15:11
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: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:12:19
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:23:22
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:23:22
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
176 Default01-Verification R-2 01:58: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 42 71 5 0 0 00:12:41 1 5 N/A
10.1.3.2 4 300 25 22 5 0 0 00:12:34 2 5 N/A
10.1.3.3 4 400 28 23 5 0 0 00:12: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
177 Default01-Verification R-2 01:58: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
178 Default01-Verification R-2 01:58: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:14:59
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:14:59
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:14:54
K 10.1.1.4/30 [0/0] is directly connected, Ethernet8, weight 1, 00:14:54
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:14:48
K * 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:14:48
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:12:51
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:14:43
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:14:37
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:12:44
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:12:44
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:12:36
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:12:36
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:21:51
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:21:51
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
179 Default01-Verification R-3 01:58: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 22 25 5 0 0 00:12:51 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
180 Default01-Verification R-3 01:58: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
181 Default01-Verification R-3 01:58: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:14:26
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:14:26
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:14:20
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:14:20
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:13:00
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:14:15
K 10.30.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:14:15
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:14:09
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:12:52
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:12:52
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:20:40
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:20: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
182 Default01-Verification R-4 01:58: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 23 28 5 0 0 00:12:59 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
183 Default01-Verification R-4 01:58: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
184 Default01-Verification R-4 01:58: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:13:50
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:13:50
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:13:56
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:13:56
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:13:08
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:13:08
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:13:08
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:13:45
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:13:39
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:19:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:19: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.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
185 Set deny host A.B.C.D R-2 01:58:55 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-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
!
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

186 Set distribute-list out R-2 01:59:00 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "neighbor 10.1.1.1 distribute-list standard1 out" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.1 soft out"
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 distribute-list standard1 out
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
!
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

187 Verification distribute-list out R-1 01:59: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 35
RIB entries 5, using 640 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 76 44 35 0 0 00:13:41 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
188 Verification distribute-list out R-1 01:59: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
189 Verification distribute-list out R-1 01:59: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:16:50
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:16:50
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:16:38
C>* 10.1.1.8/30 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
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:13:43
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:13:35
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:24:38
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:24:38
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
190 Delete distribute-list out R-2 01:59:22 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "no neighbor 10.1.1.1 distribute-list standard1 out" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.1 soft out"
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
!
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

191 Delete access-list standard R-2 01:59: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-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

192 Default01-Verification R-1 01:59: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 80 47 37 0 0 00:14:08 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
193 Default01-Verification R-1 01:59: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
194 Default01-Verification R-1 01:59: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:17:17
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:17:17
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:17:05
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:17:11
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:17:00
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:17:00
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:16:54
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:14:10
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:14:02
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:25:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:25:05
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
195 Default01-Verification R-2 01:59: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 47 80 5 0 0 00:14:24 1 5 N/A
10.1.3.2 4 300 27 24 5 0 0 00:14:17 2 5 N/A
10.1.3.3 4 400 30 25 5 0 0 00:14: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
196 Default01-Verification R-2 01:59: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
197 Default01-Verification R-2 02:00: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:42
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:16:42
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:16:37
K 10.1.1.4/30 [0/0] is directly connected, Ethernet8, weight 1, 00:16:37
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:16:31
K * 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:16:31
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:14:34
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:16:26
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:16:20
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:14:27
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:14:27
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:14:19
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:14:19
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:23:34
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:23:34
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
198 Default01-Verification R-3 02:00: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 24 27 5 0 0 00:14:34 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
199 Default01-Verification R-3 02:00: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
200 Default01-Verification R-3 02:00: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.8/30 is directly connected, Ethernet0, weight 1, 00:16:09
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:16:09
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:16:03
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:16:03
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:14:43
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:15:58
K 10.30.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:15:58
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:15:52
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:14:35
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:14:35
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:22:23
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:22: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
201 Default01-Verification R-4 02:00: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 25 30 5 0 0 00:14:42 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
202 Default01-Verification R-4 02:00: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
203 Default01-Verification R-4 02:00:32 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:34
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:15:34
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:15:40
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:15:40
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:14:52
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:14:52
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:14:52
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:15:29
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:15:23
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:20:48
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:20: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
204 Delete R-1 02:00:38 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

205 Delete R-2 02:00:43 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

206 Delete R-3 02:00:49 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

207 Delete R-4 02:00:54 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