TEST REPORT

SUMMARY

Description               "scenario_bgp_policy_prefix_list_in" result report

Start Time                   2026-10-03T02:51:27.575701

Index Scenario Time Stamp Pass/Fail
1 Print Topology Image 02:52:27 1 / 0
2 Session Check 02:52:27 4 / 0
3 IP Assign for BGP Func Test 02:52:27 30 / 0
4 Prefix List In Function 02:55:38 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 02:52:27 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 02:52:27 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:37:26 2026 from 10.250.0.1

admin@R-1:~$
3 session Check R-2 R-2 02:52:27 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:37:29 2026 from 10.250.0.1

admin@R-2:~$
4 session Check R-3 R-3 02:52:27 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:37:31 2026 from 10.250.0.1

admin@R-3:~$
5 session Check R-4 R-4 02:52:27 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:37:33 2026 from 10.250.0.1

admin@R-4:~$
 
6 Assign IPv4 on R-1 R-1 02:52:27 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 02:52:25 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 02:52:34 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 02:52:32 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 02:52:42 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 02:52:40 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 02:52:49 Pass
Parameter ~$ sudo config interface ip add Ethernet4 10.1.1.1/30
Response Success
10 Assign IPv4 on R-1 R-1 02:52:55 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.1.9/30
Response Success
11 Assign IPv4 on R-1 R-1 02:53:00 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.1.1.5/30
Response Success
12 Assign IPv4 on R-1 R-1 02:53:06 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.10.1.1/24
Response Success
13 Assign IPv4 on R-1 R-1 02:53:12 Pass
Parameter ~$ sudo config interface ip add Ethernet20 10.10.2.1/24
Response Success
14 Assign IPv4 on R-2 R-2 02:53:17 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 02:53:16 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 02:53:25 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 02:53:24 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 02:53:32 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 02:53:31 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 02:53:40 Pass
Parameter ~$ sudo config interface ip add Ethernet4 10.1.1.2/30
Response Success
18 Assign IPv4 on R-2 R-2 02:53:45 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.1.6/30
Response Success
19 Assign IPv4 on R-2 R-2 02:53:51 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.1.3.1/24
Response Success
20 Assign IPv4 on R-2 R-2 02:53:56 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.20.0.1/24
Response Success
21 Assign IPv4 on R-2 R-2 02:54:02 Pass
Parameter ~$ sudo config interface ip add Ethernet20 10.20.1.1/24
Response Success
22 Assign IPv4 on R-3 R-3 02:54:08 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 02:54:07 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 02:54:15 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 02:54:14 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 02:54:22 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 02:54:22 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 02:54:30 Pass
Parameter ~$ sudo config interface ip add Ethernet0 10.1.1.10/30
Response Success
26 Assign IPv4 on R-3 R-3 02:54:36 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.3.2/24
Response Success
27 Assign IPv4 on R-3 R-3 02:54:41 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.30.0.1/24
Response Success
28 Assign IPv4 on R-3 R-3 02:54:47 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.30.1.1/24
Response Success
29 Assign IPv4 on R-4 R-4 02:54:52 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 02:54:51 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 02:55:00 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 02:54:59 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 02:55:07 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 02:55:06 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 02:55:15 Pass
Parameter ~$ sudo config interface ip add Ethernet4 10.1.4.1/24
Response Success
33 Assign IPv4 on R-4 R-4 02:55:20 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.3.3/24
Response Success
34 Assign IPv4 on R-4 R-4 02:55:26 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.40.0.1/24
Response Success
35 Assign IPv4 on R-4 R-4 02:55:32 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.40.1.1/24
Response Success
 
36 Default01-Set R-1 02:55:38 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 02:55:46 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 02:55:54 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 02:56:01 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 02:56:09 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

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

Total number of neighbors 1
Judgement Success

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

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:03:31
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:03:20
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:09
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:25
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:25
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:17
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:11:19
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:11:19
Judgement Success

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

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

Total number of neighbors 3
Judgement Success

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

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

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

IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:02:22
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:02:22
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:02:17
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:57
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:02:11
K 10.30.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:02:11
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:02:06
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:49
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:49
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:08:12
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:08: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
49 Default01-Verification R-4 02:56:58 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

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

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
50 Default01-Verification R-4 02:57:04 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 02:57:09 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
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:37
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:01:37
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:07:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:07:04
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8
52 Set ip prefix-list WORD -default R-1 02:57:14 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 in R-1 02:57:20 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "neighbor 10.1.1.2 prefix-list PREFIX1 in" \
-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Building configuration...

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

inter-conditional operator : and

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

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

Total number of neighbors 1
Judgement Success

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

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:04:47
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:04:36
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:25
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:35
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:12:35
Judgement Success

inter-conditional operator : and
contain string: B>* 10.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 in R-1 02:57:42 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "no neighbor 10.1.1.2 prefix-list PREFIX1 in" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Success
58 Delete ip prefix-list WORD R-1 02:57:47 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-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

59 Default01-Verification R-1 02:57:52 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 23 9 0 0 00:02:06 4 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 4 200
contain string: Total number of neighbors 1
60 Default01-Verification R-1 02:57:58 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 02:58: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.1.0/30 is directly connected, Ethernet4, weight 1, 00:05:14
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:05:03
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:52
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: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:02
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:13:02
Judgement Success

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

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

Total number of neighbors 3
Judgement Success

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

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:04:40
K * 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:04:40
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:04: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:29
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:04:29
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:02:32
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:04:23
K 10.20.0.0/24 [0/0] 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:31
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:11:31
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 02:58:25 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 02:58:30 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 02:58:36 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:04:05
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:04:05
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:04:00
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:02:40
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:03:54
K 10.30.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:03:54
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:03:49
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:02:32
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:02:32
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:09:55
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:09: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
68 Default01-Verification R-4 02:58:41 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 02:58:47 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 02:58:52 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
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:20
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:03:20
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:08:47
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:08:47
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.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-1 02:58:58 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 "end"
Response Success
72 Set prefix-list in R-1 02:59:03 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "neighbor 10.1.1.2 prefix-list PREFIX1 in" \
-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Building configuration...

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

inter-conditional operator : and

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

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

Total number of neighbors 1
Judgement Success

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

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

inter-conditional operator : and
contain string: B>* 10.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 in R-1 02:59:25 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "no neighbor 10.1.1.2 prefix-list PREFIX1 in" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Success
77 Delete ip prefix-list WORD R-1 02:59:31 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-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

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

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 19 31 13 0 0 00:03:50 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 02:59:42 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 02:59: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.0/30 is directly connected, Ethernet4, weight 1, 00:06:58
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:06:47
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:06:52
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:06:41
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:06:36
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:03:44
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:14:46
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:14:46
Judgement Success

inter-conditional operator : and
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4
81 Default01-Verification R-2 02:59:53 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 32 20 5 0 0 00:04:06 1 5 N/A
10.1.3.2 4 300 16 13 5 0 0 00:03:58 2 5 N/A
10.1.3.3 4 400 19 14 5 0 0 00:03:50 2 5 N/A

Total number of neighbors 3
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.1 4 100
contain string: 10.1.3.2 4 300
contain string: 10.1.3.3 4 400
contain string: Total number of neighbors 3
82 Default01-Verification R-2 02:59:58 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:00: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.1.0/30 is directly connected, Ethernet4, weight 1, 00:06:24
K * 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:06:24
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:13
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:06:13
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:04:16
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:06:07
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:06:07
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:06:01
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:04:08
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:04:08
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:04:00
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:04:00
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:13:15
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:13:15
Judgement Success

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

IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:05:49
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:05:49
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:05:44
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:04:24
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:05:38
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:33
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:04:16
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:04:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:11:39
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:11:39
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:00:25 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:00:30 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:00:36 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
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:04
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:05:04
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:10:31
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:10:31
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8
90 Set ip prefix-list WORD -ge R-1 03:00:41 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 in R-1 03:00:47 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "neighbor 10.1.1.2 prefix-list PREFIX1 in" \
-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Building configuration...

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

inter-conditional operator : and

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

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 21 36 15 0 0 00:05:06 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 in R-1 03:00:58 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 in R-1 03:01: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.1.0/30 is directly connected, Ethernet4, weight 1, 00:08:14
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:08:03
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:08:08
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:07:57
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:07:52
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:00
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:00
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:16:02
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:16:02
Judgement Success

inter-conditional operator : and
contain string: B>* 10.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 in R-1 03:01:10 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "no neighbor 10.1.1.2 prefix-list PREFIX1 in" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Success
96 Delete ip prefix-list WORD R-1 03:01:16 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-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

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

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

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:08:42
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:08:31
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:08:36
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:08:25
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:08:20
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:05:28
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:28
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:16:30
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:16:30
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:01:37 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 40 21 5 0 0 00:05:51 1 5 N/A
10.1.3.2 4 300 18 15 5 0 0 00:05:43 2 5 N/A
10.1.3.3 4 400 21 16 5 0 0 00:05:35 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:01:43 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:01:48 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:09
K * 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:08:09
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:08:03
K 10.1.1.4/30 [0/0] is directly connected, Ethernet8, weight 1, 00:08:03
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:07:58
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:07:58
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:06:01
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:07:52
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:07:52
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:07:46
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:05:53
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:05:53
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:05:45
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:05:45
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:15:00
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:15:00
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:01:54 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:59 3 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
104 Default01-Verification R-3 03:01:59 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:02:04 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:34
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:07:34
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:07:29
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:06:09
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:07:23
K 10.30.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:07:23
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:07:18
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:06:01
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:06:01
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:13:24
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:13:24
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.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:02:10 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: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
107 Default01-Verification R-4 03:02:15 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:02:21 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:07:00
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:07:06
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:06:17
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:06:17
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:06:17
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:06:54
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:06:54
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:06:49
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:06:49
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:12:16
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:12:16
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-1 03:02:26 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 in R-1 03:02:32 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "neighbor 10.1.1.2 prefix-list PREFIX1 in" \
-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Building configuration...

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

inter-conditional operator : and

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

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 22 44 19 0 0 00:06:50 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 in R-1 03:02:42 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 in R-1 03:02:48 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:58
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:09:47
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:09:52
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:09:41
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:09:36
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:06:44
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:06:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:17:46
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:17:46
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 in R-1 03:02:53 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "no neighbor 10.1.1.2 prefix-list PREFIX1 in" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Success
115 Delete ip prefix-list WORD R-1 03:02:59 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-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

116 Default01-Verification R-1 03:03: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 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 23 49 21 0 0 00:07:18 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:03:10 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:03:15 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:26
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:10:15
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:10:20
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:10:09
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:10:04
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:12
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:07:12
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:18:14
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:18:14
Judgement Success

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

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:09:52
K * 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:09:52
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:09:46
K 10.1.1.4/30 [0/0] is directly connected, Ethernet8, weight 1, 00:09:46
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:09:41
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:09:41
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:07:44
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:09:35
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:09:35
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:09:29
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:07:36
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:07:36
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:07:28
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:07:28
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:16:43
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:16:43
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:03:37 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:43 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:03:43 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:03:48 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:18
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:09:18
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:09:13
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:07:53
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:09:07
K 10.30.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:09:07
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:09:02
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:07:45
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:07:45
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.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:03:53 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:51 3 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
126 Default01-Verification R-4 03:03:59 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:04:04 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:43
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:08:49
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:08:00
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:08:00
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:08:00
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:08:37
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:08:37
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:08:32
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:08:32
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:13:59
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:13:59
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-1 03:04:10 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 in R-1 03:04:15 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "neighbor 10.1.1.2 prefix-list PREFIX1 in" \
-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Building configuration...

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

inter-conditional operator : and

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

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 24 53 23 0 0 00:08:34 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 in R-1 03:04:26 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 in R-1 03:04: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:11:42
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:11:31
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:11:36
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:11:25
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:11:20
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:28
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:28
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:19:30
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:19:30
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 in R-1 03:04:37 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "no neighbor 10.1.1.2 prefix-list PREFIX1 in" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Success
134 Delete ip prefix-list WORD R-1 03:04:42 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-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

135 Default01-Verification R-1 03:04:48 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 25 58 25 0 0 00:09:01 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:04:53 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:04:59 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:12:09
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:11:58
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:12:03
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:11:52
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:11:47
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:08:55
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:55
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:19:57
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:19:57
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:05:04 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 58 25 5 0 0 00:09:18 1 5 N/A
10.1.3.2 4 300 22 19 5 0 0 00:09:10 2 5 N/A
10.1.3.3 4 400 25 20 5 0 0 00:09:02 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:05:10 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:05:15 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:35
K * 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:11:35
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:11:29
K 10.1.1.4/30 [0/0] is directly connected, Ethernet8, weight 1, 00:11:29
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:11:24
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:11:24
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:09:27
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:11:18
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:11:18
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:11:12
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:09:19
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:09:19
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:09:11
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:09:11
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:18:26
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:18:26
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:05:20 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:26 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:05:26 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:05: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.8/30 is directly connected, Ethernet0, weight 1, 00:11:01
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:11:01
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:10:56
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:09:36
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:10:50
K 10.30.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:10:50
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:10:45
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:09:28
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:09:28
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:16:51
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:16:51
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8
contain string: B>* 10.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:05:37 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: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
145 Default01-Verification R-4 03:05:42 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:05:48 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:27
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:10:33
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:09:44
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:09:44
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:09:44
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:10:21
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:10:21
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:10:16
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:10:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:15:43
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:15:43
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-1 03:05:53 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 in R-1 03:05:59 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "neighbor 10.1.1.2 prefix-list PREFIX1 in" \
-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Building configuration...

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

inter-conditional operator : and

149 Verification prefix-list in R-1 03:06: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 27
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 26 62 27 0 0 00:10:18 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 in R-1 03:06:10 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 in R-1 03:06:15 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:25
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:13:14
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:13:19
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:13:08
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:13:03
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:11
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:11
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:21:13
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:21:13
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 in R-1 03:06:20 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "no neighbor 10.1.1.2 prefix-list PREFIX1 in" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Success
153 Delete ip prefix-list WORD R-1 03:06:26 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-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

154 Default01-Verification R-1 03:06:31 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 26 66 29 0 0 00:10:45 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:06:37 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:06:42 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:53
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:13:42
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:13:47
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:13:36
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:13:31
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:10:39
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:39
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:21:41
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:21:41
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:06:48 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 67 27 5 0 0 00:11:01 1 5 N/A
10.1.3.2 4 300 23 20 5 0 0 00:10:53 2 5 N/A
10.1.3.3 4 400 26 21 5 0 0 00:10:45 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:06:53 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:06:59 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:13:19
K * 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:13:19
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:13:13
K 10.1.1.4/30 [0/0] is directly connected, Ethernet8, weight 1, 00:13:13
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:13:08
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:13:08
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:11:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:13:02
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:13:02
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:12:56
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:11:03
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:11:03
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:10:55
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:10:55
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:20:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:20:10
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:07:04 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:09 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:07:09 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:07:15 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:44
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:12:44
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:12:39
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:11:19
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:12:33
K 10.30.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:12:33
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:12:28
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:11:11
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:11:11
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:18:34
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:18:34
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:07:20 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:17 3 5 N/A

Total number of neighbors 1
Judgement Success

inter-conditional operator : and
contain string: 10.1.3.1 4 200
contain string: Total number of neighbors 1
164 Default01-Verification R-4 03:07:26 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:07: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.3.0/24 is directly connected, Ethernet8, weight 1, 00:12:10
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:12:16
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:11:27
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:11:27
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:11:27
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:12:04
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:12:04
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:11:59
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:11:59
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:17:26
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:17:26
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-1 03:07:37 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 in R-1 03:07:42 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "neighbor 10.1.1.2 prefix-list PREFIX1 in" \
-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Building configuration...

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

inter-conditional operator : and

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

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

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:15:09
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:14:58
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:15:03
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:14:52
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:14:47
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:11:55
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:11:55
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:22:57
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:22:57
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 in R-1 03:08:04 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "no neighbor 10.1.1.2 prefix-list PREFIX1 in" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Success
172 Delete ip prefix-list WORD R-1 03:08:09 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-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

173 Default01-Verification R-1 03:08:15 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 28 75 33 0 0 00:12:28 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:08:20 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:08:26 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:36
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:15:25
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:15:30
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:15:19
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:15:14
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:12:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:22
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:23:24
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:23:24
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:08:31 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 75 28 5 0 0 00:12:45 1 5 N/A
10.1.3.2 4 300 25 22 5 0 0 00:12:37 2 5 N/A
10.1.3.3 4 400 28 23 5 0 0 00:12:29 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:08:37 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:08:42 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:02
K * 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:15:02
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:14:56
K 10.1.1.4/30 [0/0] is directly connected, Ethernet8, weight 1, 00:14:56
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:14:51
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:14:51
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:12:54
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:14:45
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:14:45
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:14:39
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:12:46
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:12:46
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:12:38
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:12:38
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:21:53
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:21:53
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:08:47 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:53 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:08:53 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:08: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.8/30 is directly connected, Ethernet0, weight 1, 00:14:28
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:14:28
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:14:23
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:13:03
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:14:17
K 10.30.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:14:17
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:14:12
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:12:55
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:12:55
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.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:09:04 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 24 29 5 0 0 00:13:01 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:09:09 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:09:15 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:54
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:14:00
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:13:11
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:13:11
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:13:11
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:13:48
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:13:48
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:13:43
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:13:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:19:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:19:10
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-1 03:09:20 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 in R-1 03:09:25 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "neighbor 10.1.1.2 prefix-list PREFIX1 in" \
-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \
-c "do show running-config" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Building configuration...

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

inter-conditional operator : and

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

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 29 79 35 0 0 00:13:44 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 in R-1 03:09:36 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 in R-1 03:09:42 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:52
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:16:41
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:16:46
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:16:35
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:16:30
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:13:38
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:13:38
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:24:40
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:24:40
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 in R-1 03:09:47 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "no neighbor 10.1.1.2 prefix-list PREFIX1 in" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft in"
Response Success
191 Delete ip prefix-list WORD R-1 03:09:53 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-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
Judgement Success

inter-conditional operator : and

192 Default01-Verification R-1 03:09:58 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 30 84 37 0 0 00:14:11 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:10:03 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:10:09 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:19
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:17:08
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:17:13
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:17:02
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:16:57
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:14:05
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:14:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:25:07
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:25:07
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:10:14 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 84 30 5 0 0 00:14:28 1 5 N/A
10.1.3.2 4 300 27 24 5 0 0 00:14:20 2 5 N/A
10.1.3.3 4 400 30 25 5 0 0 00:14:12 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:10:20 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:10:25 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:46
K * 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:16:46
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:16:40
K 10.1.1.4/30 [0/0] is directly connected, Ethernet8, weight 1, 00:16:40
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:16:35
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:16:35
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:14:38
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:16:29
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:16:29
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:16:23
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:14:30
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:14:30
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:14:22
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:14:22
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:23:37
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:23:37
Judgement Success

inter-conditional operator : and
contain string: B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4
contain string: B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12
contain string: B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12
198 Default01-Verification R-3 03:10:31 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:36 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:10:36 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:10: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.8/30 is directly connected, Ethernet0, weight 1, 00:16:11
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:16:11
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:16:06
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:14:46
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:16:00
K 10.30.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:16:00
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:15:55
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:14:38
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:14:38
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.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:10:47 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:44 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:10:52 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:10: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.3.0/24 is directly connected, Ethernet8, weight 1, 00:15:37
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:15:43
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:14:54
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:14:54
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:14:54
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:15:31
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:15:31
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:15:26
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:15:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:20:53
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:20:53
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:11:03 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:11:09 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:11:14 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:11:20 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