TEST REPORT

SUMMARY

Description               "scenario_bgp_policy_prefix_list_out" result report

Start Time                   2026-10-03T03:19:23.830424

Index Scenario Time Stamp Pass/Fail
1 Print Topology Image 03:20:21 1 / 0
2 Session Check 03:20:21 4 / 0
3 IP Assign for BGP Func Test 03:20:21 30 / 0
4 Prefix List Out Function 03:23:32 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 03:20:21 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 03:20:21 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 02:52:10 2026 from 10.250.0.1

admin@R-1:~$
3 session Check R-2 R-2 03:20:21 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 02:52:13 2026 from 10.250.0.1

admin@R-2:~$
4 session Check R-3 R-3 03:20:21 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 02:52:16 2026 from 10.250.0.1

admin@R-3:~$
5 session Check R-4 R-4 03:20:21 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 02:52:17 2026 from 10.250.0.1

admin@R-4:~$
 
6 Assign IPv4 on R-1 R-1 03:20:21 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 03:20:20 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 03:20:29 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 03:20:27 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 03:20:36 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 03:20:34 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 03:20:44 Pass
Parameter ~$ sudo config interface ip add Ethernet4 10.1.1.1/30
Response Success
10 Assign IPv4 on R-1 R-1 03:20:49 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.1.9/30
Response Success
11 Assign IPv4 on R-1 R-1 03:20:55 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.1.1.5/30
Response Success
12 Assign IPv4 on R-1 R-1 03:21:01 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.10.1.1/24
Response Success
13 Assign IPv4 on R-1 R-1 03:21:06 Pass
Parameter ~$ sudo config interface ip add Ethernet20 10.10.2.1/24
Response Success
14 Assign IPv4 on R-2 R-2 03:21:12 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 03:21:11 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 03:21:19 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 03:21:18 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 03:21:27 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 03:21:26 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 03:21:34 Pass
Parameter ~$ sudo config interface ip add Ethernet4 10.1.1.2/30
Response Success
18 Assign IPv4 on R-2 R-2 03:21:40 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.1.6/30
Response Success
19 Assign IPv4 on R-2 R-2 03:21:45 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.1.3.1/24
Response Success
20 Assign IPv4 on R-2 R-2 03:21:51 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.20.0.1/24
Response Success
21 Assign IPv4 on R-2 R-2 03:21:56 Pass
Parameter ~$ sudo config interface ip add Ethernet20 10.20.1.1/24
Response Success
22 Assign IPv4 on R-3 R-3 03:22:02 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 03:22:01 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 03:22:09 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 03:22:09 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 03:22:17 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 03:22:16 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 03:22:24 Pass
Parameter ~$ sudo config interface ip add Ethernet0 10.1.1.10/30
Response Success
26 Assign IPv4 on R-3 R-3 03:22:30 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.3.2/24
Response Success
27 Assign IPv4 on R-3 R-3 03:22:36 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.30.0.1/24
Response Success
28 Assign IPv4 on R-3 R-3 03:22:41 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.30.1.1/24
Response Success
29 Assign IPv4 on R-4 R-4 03:22:47 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 03:22:46 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

30 Assign IPv4 on R-4 R-4 03:22:54 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 03:22:53 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 03:23:02 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 03:23:00 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 03:23:09 Pass
Parameter ~$ sudo config interface ip add Ethernet4 10.1.4.1/24
Response Success
33 Assign IPv4 on R-4 R-4 03:23:15 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.3.3/24
Response Success
34 Assign IPv4 on R-4 R-4 03:23:21 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.40.0.1/24
Response Success
35 Assign IPv4 on R-4 R-4 03:23:26 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.40.1.1/24
Response Success
 
36 Default01-Set R-1 03:23:32 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 03:23:40 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 03:23:48 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 03:23:56 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 03:24:04 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 03:24:09 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 03:24: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: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
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:17
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:11:42
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:11:42
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 03:24:20 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 03:24:25 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 03:24:31 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
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:10:08
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:10: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
46 Default01-Verification R-3 03:24:36 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 03:24:42 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 03:24:47 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
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
K 10.30.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:02:06
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:50
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:50
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:08:36
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:08:36
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 03:24:52 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 03:24:58 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 03:25:03 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:01:48
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:01:54
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:01:54
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:05
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:05
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:05
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:01:42
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:01:42
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:01:36
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:07:03
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:07: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.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 ip prefix-list WORD -default R-2 03:25:09 Pass
Parameter ~$ vtysh -c "config" \
-c "ip prefix-list PREFIX1 deny 10.30.0.0/24" \
-c "ip prefix-list PREFIX1 deny 10.30.1.0/24" \
-c "ip prefix-list PREFIX1 permit 0.0.0.0/0 le 32" \
-c "end"
Response Success
53 Set prefix-list out R-2 03:25:14 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "neighbor 10.1.1.1 prefix-list PREFIX1 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
!
ip prefix-list PREFIX1 seq 5 deny 10.30.0.0/24
ip prefix-list PREFIX1 seq 10 deny 10.30.1.0/24
ip prefix-list PREFIX1 seq 15 permit 0.0.0.0/0 le 32
!
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 prefix-list PREFIX1 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
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

54 Verification prefix-list out R-1 03:25:20 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 14 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 prefix-list out R-1 03:25:25 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.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 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.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 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.30.1.0/24 10.1.1.2 0 200 300 i
56 Verification prefix-list out R-1 03:25: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.0/30 is directly connected, Ethernet4, weight 1, 00:04:47
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:04: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
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:04:24
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:33
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:12:58
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:12:58
Judgement Success

inter-conditional operator : and
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
not contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
57 Delete prefix-list out R-2 03:25:36 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "no neighbor 10.1.1.1 prefix-list PREFIX1 out" \
-c "end" \
-c "clear ip bgp 10.1.1.1 soft out"
Response Success
58 Delete ip prefix-list WORD R-2 03:25:41 Pass
Parameter ~$ vtysh -c "config" \
-c "no ip prefix-list PREFIX1" \
-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 03:25:47 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 9
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 18 13 9 0 0 00:02:05 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 03:25:52 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 03:25:58 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:05:14
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:05: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
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:00:21
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:02:00
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:02:00
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:13:25
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:13:25
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 03:26: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 13 18 5 0 0 00:02:21 1 5 N/A
10.1.3.2 4 300 15 12 5 0 0 00:02:14 2 5 N/A
10.1.3.3 4 400 18 13 5 0 0 00:02:06 2 5 N/A

Total number of neighbors 3
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.1 4 100
contain string: 10.1.3.2 4 300
contain string: 10.1.3.3 4 400
contain string: Total number of neighbors 3
63 Default01-Verification R-2 03:26: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
64 Default01-Verification R-2 03:26: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:04:39
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:04:39
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:04:34
K * 10.1.1.4/30 [0/0] is directly connected, Ethernet8, weight 1, 00:04:34
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:04:28
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:02:31
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:04:23
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:04:17
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:02:24
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:02:24
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:02:16
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:02:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:11:51
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:11: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
65 Default01-Verification R-3 03:26: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 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 03:26: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
67 Default01-Verification R-3 03:26: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: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
K 10.30.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:03:49
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:02:33
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:02:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:10:19
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:10:19
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 03:26:36 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 03:26: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
70 Default01-Verification R-4 03:26: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:03:31
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:03:37
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:03:37
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:02:48
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:02:48
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:02:48
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:03:25
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:03:25
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:03:19
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:08:46
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:08: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.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 ip prefix-list WORD - ge & le R-2 03:26:52 Pass
Parameter ~$ vtysh -c "config" \
-c "ip prefix-list PREFIX1 deny 10.30.0.0/23 ge 24 le 24" \
-c "ip prefix-list PREFIX1 permit 0.0.0.0/0 le 32" \
-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
!
ip prefix-list PREFIX1 seq 5 deny 10.30.0.0/23 ge 24 le 24
ip prefix-list PREFIX1 seq 10 permit 0.0.0.0/0 le 32
!
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

72 Set prefix-list out R-2 03:26:57 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "neighbor 10.1.1.1 prefix-list PREFIX1 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
!
ip prefix-list PREFIX1 seq 5 deny 10.30.0.0/23 ge 24 le 24
ip prefix-list PREFIX1 seq 10 permit 0.0.0.0/0 le 32
!
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 prefix-list PREFIX1 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
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

73 Verification prefix-list out R-1 03:27: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 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 22 15 11 0 0 00:03:21 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 prefix-list out R-1 03:27:08 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.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 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.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 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.30.1.0/24 10.1.1.2 0 200 300 i
75 Verification prefix-list out R-1 03:27: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:06:30
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:06:18
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:06:24
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:06:13
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:06:07
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:16
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:41
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:14:41
Judgement Success

inter-conditional operator : and
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
not contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
76 Delete prefix-list out R-2 03:27:19 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "no neighbor 10.1.1.1 prefix-list PREFIX1 out" \
-c "end" \
-c "clear ip bgp 10.1.1.1 soft out"
Response Success
77 Delete ip prefix-list WORD R-2 03:27:25 Pass
Parameter ~$ vtysh -c "config" \
-c "no ip prefix-list PREFIX1" \
-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 03:27: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 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 25 16 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 03:27:35 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 03:27: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:06:57
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:06:45
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:06:51
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:06:40
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:06:34
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:43
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:15:08
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:15:08
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 03:27: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 17 26 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 03:27: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
83 Default01-Verification R-2 03:27: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: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
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:35
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:13:35
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 03:28:03 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 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 03:28: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
86 Default01-Verification R-3 03:28: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: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
K 10.30.1.0/24 [0/0] 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:16
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:04:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:12:02
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:12: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.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 03:28: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 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 03:28: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
89 Default01-Verification R-4 03:28: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:05:15
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:05:21
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:05:21
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:04:32
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:04:32
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:04:32
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:05:09
K 10.40.0.0/24 [0/0] 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:30
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:10: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.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 ip prefix-list WORD - ge R-2 03:28:35 Pass
Parameter ~$ vtysh -c "config" \
-c "ip prefix-list PREFIX1 deny 10.30.0.0/23 ge 24" \
-c "ip prefix-list PREFIX1 permit 0.0.0.0/0 le 32" \
-c "end"
Response Success
91 Set prefix-list out R-2 03:28:41 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "neighbor 10.1.1.1 prefix-list PREFIX1 out" \
-c "end" \
-c "clear ip bgp 10.1.1.1 soft out"
Response Success
92 Verification prefix-list out R-1 03:28: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 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 30 19 15 0 0 00:05:04 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 prefix-list out R-1 03:28:51 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.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 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.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 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.30.1.0/24 10.1.1.2 0 200 300 i
94 Verification prefix-list out R-1 03:28: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:08:13
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:08:01
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:08:07
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:07:56
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:07:50
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:04:59
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:24
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:16:24
Judgement Success

inter-conditional operator : and
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
not contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
95 Delete prefix-list out R-2 03:29:02 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "no neighbor 10.1.1.1 prefix-list PREFIX1 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
!
ip prefix-list PREFIX1 seq 5 deny 10.30.0.0/23 ge 24
ip prefix-list PREFIX1 seq 10 permit 0.0.0.0/0 le 32
!
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

96 Delete ip prefix-list WORD R-2 03:29:08 Pass
Parameter ~$ vtysh -c "config" \
-c "no ip prefix-list PREFIX1" \
-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 03:29: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 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 33 20 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 03:29:19 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 03:29: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: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
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:00:22
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:27
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:27
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:16:52
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:16:52
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 03:29: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 20 33 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 03:29: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
102 Default01-Verification R-2 03:29: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: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
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:15:18
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:15:18
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 03:29: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 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 03:29: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
105 Default01-Verification R-3 03:29: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: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
K 10.30.1.0/24 [0/0] 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:59
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:05:59
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:13:45
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:13: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.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 03:30: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 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 03:30:08 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

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

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.3.1 0 200 100 i
contain string: *> 10.30.0.0/24 10.1.3.2 0 200 300 i
contain string: *> 10.30.1.0/24 10.1.3.2 0 200 300 i
contain string: *> 10.40.0.0/24 0.0.0.0 0 32768 i
contain string: *> 10.40.1.0/24 0.0.0.0 0 32768 i
contain string: Displayed 5 routes and 5 total paths
108 Default01-Verification R-4 03:30: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:06:58
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:07:04
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:07:04
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:06:15
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:06:15
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:06:15
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:06:52
K 10.40.0.0/24 [0/0] 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:13
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:12: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.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 ip prefix-list WORD - le R-2 03:30:18 Pass
Parameter ~$ vtysh -c "config" \
-c "ip prefix-list PREFIX1 deny 10.30.0.0/23 le 24" \
-c "ip prefix-list PREFIX1 permit 0.0.0.0/0 le 32" \
-c "end"
Response Success
110 Set prefix-list out R-2 03:30:24 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "neighbor 10.1.1.1 prefix-list PREFIX1 out" \
-c "end" \
-c "clear ip bgp 10.1.1.1 soft out"
Response Success
111 Verification prefix-list out R-1 03:30: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 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 37 22 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 prefix-list out R-1 03:30:35 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.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 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.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 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.30.1.0/24 10.1.1.2 0 200 300 i
113 Verification prefix-list out R-1 03:30: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: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
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:09:34
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:06:43
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:06:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:18:08
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:18:08
Judgement Success

inter-conditional operator : and
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
not contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
114 Delete prefix-list out R-2 03:30:46 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "no neighbor 10.1.1.1 prefix-list PREFIX1 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
!
ip prefix-list PREFIX1 seq 5 deny 10.30.0.0/23 le 24
ip prefix-list PREFIX1 seq 10 permit 0.0.0.0/0 le 32
!
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

115 Delete ip prefix-list WORD R-2 03:30:51 Pass
Parameter ~$ vtysh -c "config" \
-c "no ip prefix-list PREFIX1" \
-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 03:30:57 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 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 41 24 21 0 0 00:07:15 4 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 4 200
contain string: Total number of neighbors 1
117 Default01-Verification R-1 03:31:02 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 03:31:08 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00: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
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:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:07:10
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:07:10
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:18:35
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:18:35
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 03:31:13 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 24 41 5 0 0 00:07:31 1 5 N/A
10.1.3.2 4 300 20 17 5 0 0 00:07:24 2 5 N/A
10.1.3.3 4 400 23 18 5 0 0 00:07:16 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 03:31: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
121 Default01-Verification R-2 03:31: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:09:49
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:09:49
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:09:44
K * 10.1.1.4/30 [0/0] is directly connected, Ethernet8, weight 1, 00:09:44
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:09:38
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:07:41
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:09:33
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:09:27
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:07:34
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:07:34
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:07:26
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:07:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:17:01
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:17:01
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 03:31: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 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 03:31:35 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

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

Displayed 5 routes and 5 total paths
Judgement Success

inter-conditional operator : and
contain string: *> 10.10.1.0/24 10.1.3.1 0 200 100 i
contain string: *> 10.30.0.0/24 0.0.0.0 0 32768 i
contain string: *> 10.30.1.0/24 0.0.0.0 0 32768 i
contain string: *> 10.40.0.0/24 10.1.3.3 0 200 400 i
contain string: *> 10.40.1.0/24 10.1.3.3 0 200 400 i
contain string: Displayed 5 routes and 5 total paths
124 Default01-Verification R-3 03:31: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: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
K 10.30.1.0/24 [0/0] 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:43
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:07:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:15:29
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:15:29
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 03:31:46 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 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 03:31:51 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

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

Displayed 5 routes and 5 total paths
Judgement Success

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

IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:08:42
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:08:48
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:08:48
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
K 10.40.0.0/24 [0/0] 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:57
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:13:57
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.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 ip prefix-list WORD seq NUM - Default R-2 03:32:02 Pass
Parameter ~$ vtysh -c "config" \
-c "ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/24" \
-c "ip prefix-list PREFIX1 seq 2 deny 10.30.1.0/24" \
-c "ip prefix-list PREFIX1 seq 3 permit 0.0.0.0/0 le 32" \
-c "end"
Response Success
129 Set prefix-list out R-2 03:32:07 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "neighbor 10.1.1.1 prefix-list PREFIX1 out" \
-c "end" \
-c "clear ip bgp 10.1.1.1 soft out"
Response Success
130 Verification prefix-list out R-1 03:32: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 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 45 26 23 0 0 00:08:31 2 3 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 4 200
contain string: Total number of neighbors 1
131 Verification prefix-list out R-1 03:32:18 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.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 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.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 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.30.1.0/24 10.1.1.2 0 200 300 i
132 Verification prefix-list out R-1 03:32: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: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
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:11:17
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:26
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:19:51
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:19:51
Judgement Success

inter-conditional operator : and
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
not contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
133 Delete prefix-list out R-2 03:32:29 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "no neighbor 10.1.1.1 prefix-list PREFIX1 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
!
ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/24
ip prefix-list PREFIX1 seq 2 deny 10.30.1.0/24
ip prefix-list PREFIX1 seq 3 permit 0.0.0.0/0 le 32
!
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

134 Delete ip prefix-list WORD R-2 03:32:35 Pass
Parameter ~$ vtysh -c "config" \
-c "no ip prefix-list PREFIX1" \
-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 03:32: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 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 48 27 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 03:32:46 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 03:32: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: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
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:00:21
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:53
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:53
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:20:18
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:20:18
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 03:32: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 49 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 03:33:02 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 03:33: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: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
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:45
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:18:45
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 03:33:13 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 03:33: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
143 Default01-Verification R-3 03:33:23 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:10: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
K 10.30.1.0/24 [0/0] 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:26
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:09:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:17:12
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:17:12
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 03:33: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 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 03:33: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
146 Default01-Verification R-4 03:33: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.3.0/24 is directly connected, Ethernet8, weight 1, 00:10:25
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:10:31
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:10:31
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
K 10.40.0.0/24 [0/0] 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:40
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:15: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.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 ip prefix-list WORD seq NUM - ge & le R-2 03:33:45 Pass
Parameter ~$ vtysh -c "config" \
-c "ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 ge 24 le 24" \
-c "ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32" \
-c "end"
Response Success
148 Set prefix-list out R-2 03:33:51 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "neighbor 10.1.1.1 prefix-list PREFIX1 out" \
-c "end" \
-c "clear ip bgp 10.1.1.1 soft out"
Response Success
149 Verification prefix-list out R-1 03:33: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 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 53 30 27 0 0 00:10:14 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 prefix-list out R-1 03:34:01 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.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 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.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 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.30.1.0/24 10.1.1.2 0 200 300 i
151 Verification prefix-list out R-1 03:34: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: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
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:13:00
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:09
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:09
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:21:34
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:21:34
Judgement Success

inter-conditional operator : and
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
not contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
152 Delete prefix-list out R-2 03:34:12 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "no neighbor 10.1.1.1 prefix-list PREFIX1 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
!
ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 ge 24 le 24
ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32
!
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

153 Delete ip prefix-list WORD R-2 03:34:18 Pass
Parameter ~$ vtysh -c "config" \
-c "no ip prefix-list PREFIX1" \
-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 03:34: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 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 56 31 29 0 0 00:10:41 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 03:34:28 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 03:34: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:13:50
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:13:38
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:13:44
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:13:33
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:13:27
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:00:21
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:36
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:22:01
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:22:01
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 03:34: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 31 56 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 03:34: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
159 Default01-Verification R-2 03:34: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: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
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:28
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:20:28
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 03:34:56 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:07 3 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
161 Default01-Verification R-3 03:35: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
162 Default01-Verification R-3 03:35: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.8/30 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
K 10.30.1.0/24 [0/0] 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:09
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:11:09
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:18:55
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:18: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.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 03:35: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 22 27 5 0 0 00:11:15 3 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
164 Default01-Verification R-4 03:35:18 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 03:35: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:12:08
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:12:14
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:12:14
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
K 10.40.0.0/24 [0/0] 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:23
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:17: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.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 ip prefix-list WORD seq NUM - ge R-2 03:35:29 Pass
Parameter ~$ vtysh -c "config" \
-c "ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 ge 24" \
-c "ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32" \
-c "end"
Response Success
167 Set prefix-list out R-2 03:35:34 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "neighbor 10.1.1.1 prefix-list PREFIX1 out" \
-c "end" \
-c "clear ip bgp 10.1.1.1 soft out"
Response Success
168 Verification prefix-list out R-1 03:35: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 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 60 33 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 prefix-list out R-1 03:35:45 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.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 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.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 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.30.1.0/24 10.1.1.2 0 200 300 i
170 Verification prefix-list out R-1 03:35: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: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
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:14:44
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:11:53
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:11:53
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:23:18
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:23:18
Judgement Success

inter-conditional operator : and
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
not contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
171 Delete prefix-list out R-2 03:35:56 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "no neighbor 10.1.1.1 prefix-list PREFIX1 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
!
ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 ge 24
ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32
!
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

172 Delete ip prefix-list WORD R-2 03:36:01 Pass
Parameter ~$ vtysh -c "config" \
-c "no ip prefix-list PREFIX1" \
-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 03:36: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 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 64 35 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 03:36:12 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 03:36:17 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:15: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
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:00:22
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:20
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:20
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:23:45
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:23:45
Judgement Success

inter-conditional operator : and
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4
176 Default01-Verification R-2 03:36:23 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 35 64 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 03:36: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
178 Default01-Verification R-2 03:36: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: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
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:22:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:22:11
Judgement Success

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

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

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
180 Default01-Verification R-3 03:36: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
181 Default01-Verification R-3 03:36: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:14:25
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:14:19
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:14:19
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:12:59
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:14:14
K 10.30.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:14:14
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:14:08
K 10.30.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:14:08
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:38
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:20: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.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 03:36:55 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

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

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
183 Default01-Verification R-4 03:37: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
184 Default01-Verification R-4 03:37:06 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:13:51
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:13:57
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:13:57
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
K 10.40.0.0/24 [0/0] 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:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:19:06
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 ip prefix-list WORD seq NUM - le R-2 03:37:12 Pass
Parameter ~$ vtysh -c "config" \
-c "ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 le 24" \
-c "ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32" \
-c "end"
Response Success
186 Set prefix-list out R-2 03:37:17 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "neighbor 10.1.1.1 prefix-list PREFIX1 out" \
-c "end" \
-c "clear ip bgp 10.1.1.1 soft out"
Response Success
187 Verification prefix-list out R-1 03:37: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 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 68 37 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 prefix-list out R-1 03:37:28 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.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 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.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 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.30.1.0/24 10.1.1.2 0 200 300 i
189 Verification prefix-list out R-1 03:37:33 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:16: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
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:16:27
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:13:36
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:13:36
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:25:01
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:25:01
Judgement Success

inter-conditional operator : and
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
not contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
not contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
190 Delete prefix-list out R-2 03:37:39 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "no neighbor 10.1.1.1 prefix-list PREFIX1 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
!
ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 le 24
ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32
!
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

191 Delete ip prefix-list WORD R-2 03:37:44 Pass
Parameter ~$ vtysh -c "config" \
-c "no ip prefix-list PREFIX1" \
-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 03:37: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 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 72 39 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 03:37:55 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 03:38: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: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
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:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:14:03
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:14:03
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:25:28
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:25:28
Judgement Success

inter-conditional operator : and
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4
195 Default01-Verification R-2 03:38: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 39 72 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 03:38: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
197 Default01-Verification R-2 03:38:17 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:16: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
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:54
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:23:54
Judgement Success

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

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 24 27 5 0 0 00:14: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 03:38:28 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 03:38: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:16:08
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:16:02
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:16:02
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:14:42
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:15:57
K 10.30.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:15:57
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:15:51
K 10.30.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:15:51
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:21
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:22: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.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 03:38:38 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 25 30 5 0 0 00:14: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
202 Default01-Verification R-4 03:38: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
203 Default01-Verification R-4 03:38:49 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:15:35
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:15:41
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:15:41
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
K 10.40.0.0/24 [0/0] 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:50
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:20:50
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 Default01-Delete R-1 03:38:55 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 Default01-Delete R-2 03:39:01 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 Default01-Delete R-3 03:39:06 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 Default01-Delete R-4 03:39:11 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