TEST REPORT

SUMMARY

Description               "scenario_bgp_policy_as_path_attribute" result report

Start Time                   2026-10-03T00:35:19.839190

Index Scenario Time Stamp Pass/Fail
1 Print Topology Image 00:36:18 1 / 0
2 Session Check 00:36:18 4 / 0
3 IP Assign for BGP Func Test 00:36:18 30 / 0
4 AS-Path Attribute Function 00:39:29 22 / 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 L3-BGP Topology caller 00:36:18 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 00:36:18 Pass
Parameter None
Response Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|

-- Software for Open Networking in the Cloud --

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

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

Last login: Sat Oct 3 00:20:27 2026 from 10.250.0.1

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

-- Software for Open Networking in the Cloud --

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

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

Last login: Sat Oct 3 00:20:30 2026 from 10.250.0.1

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

-- Software for Open Networking in the Cloud --

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

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

Last login: Sat Oct 3 00:20:33 2026 from 10.250.0.1

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

-- Software for Open Networking in the Cloud --

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

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

Last login: Sat Oct 3 00:20:34 2026 from 10.250.0.1

admin@R-4:~$
 
6 Assign IPv4 on R-1 R-1 00:36:18 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 00:36:17 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 00:36:26 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 00:36: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

8 Assign IPv4 on R-1 R-1 00:36:33 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 00:36:32 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 00:36:41 Pass
Parameter ~$ sudo config interface ip add Ethernet4 10.1.1.1/30
Response Success
10 Assign IPv4 on R-1 R-1 00:36:46 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.1.9/30
Response Success
11 Assign IPv4 on R-1 R-1 00:36:52 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.1.1.5/30
Response Success
12 Assign IPv4 on R-1 R-1 00:36:58 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.10.1.1/24
Response Success
13 Assign IPv4 on R-1 R-1 00:37:03 Pass
Parameter ~$ sudo config interface ip add Ethernet20 10.10.2.1/24
Response Success
14 Assign IPv4 on R-2 R-2 00:37:09 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 00:37:08 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 00:37:17 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 00:37:16 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 00:37:24 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 00:37:23 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 00:37:31 Pass
Parameter ~$ sudo config interface ip add Ethernet4 10.1.1.2/30
Response Success
18 Assign IPv4 on R-2 R-2 00:37:37 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.1.6/30
Response Success
19 Assign IPv4 on R-2 R-2 00:37:43 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.1.3.1/24
Response Success
20 Assign IPv4 on R-2 R-2 00:37:48 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.20.0.1/24
Response Success
21 Assign IPv4 on R-2 R-2 00:37:54 Pass
Parameter ~$ sudo config interface ip add Ethernet20 10.20.1.1/24
Response Success
22 Assign IPv4 on R-3 R-3 00:38:00 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 00:37:59 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 00:38:07 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 00:38:06 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 00:38:14 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 00:38:14 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 00:38:22 Pass
Parameter ~$ sudo config interface ip add Ethernet0 10.1.1.10/30
Response Success
26 Assign IPv4 on R-3 R-3 00:38:28 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.3.2/24
Response Success
27 Assign IPv4 on R-3 R-3 00:38:33 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.30.0.1/24
Response Success
28 Assign IPv4 on R-3 R-3 00:38:39 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.30.1.1/24
Response Success
29 Assign IPv4 on R-4 R-4 00:38:44 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 00:38:44 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

30 Assign IPv4 on R-4 R-4 00:38:52 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 00:38:51 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 00:39:00 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 00:38:59 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

32 Assign IPv4 on R-4 R-4 00:39:07 Pass
Parameter ~$ sudo config interface ip add Ethernet4 10.1.4.1/24
Response Success
33 Assign IPv4 on R-4 R-4 00:39:13 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.3.3/24
Response Success
34 Assign IPv4 on R-4 R-4 00:39:18 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.40.0.1/24
Response Success
35 Assign IPv4 on R-4 R-4 00:39:24 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.40.1.1/24
Response Success
 
36 Default - Set Default R-1 00:39:29 Pass
Parameter ~$ vtysh -c "config" \
-c "route-map permit-all permit 10" \
-c "exit" \
-c "router bgp 100" \
-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 "neighbor 10.1.1.10 remote-as 300" \
-c "neighbor 10.1.1.10 route-map permit-all in" \
-c "neighbor 10.1.1.10 route-map permit-all out" \
-c "network 10.1.1.0/30" \
-c "network 10.1.1.4/30" \
-c "network 10.10.1.0/24" \
-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
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 300
!
address-family ipv4 unicast
network 10.1.1.0/30
network 10.1.1.4/30
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
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 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

37 Default - Set Default R-2 00:39:37 Pass
Parameter ~$ vtysh -c "config" \
-c "route-map permit-all permit 10" \
-c "exit" \
-c "router bgp 200" \
-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 "network 10.1.3.0/24" \
-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
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
network 10.1.3.0/24
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

38 Default - Set Default R-3 00:39:45 Pass
Parameter ~$ vtysh -c "config" \
-c "route-map permit-all permit 10" \
-c "exit" \
-c "router bgp 300" \
-c "neighbor 10.1.1.9 remote-as 100" \
-c "neighbor 10.1.1.9 route-map permit-all in" \
-c "neighbor 10.1.1.9 route-map permit-all out" \
-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 "network 10.30.0.0/24" \
-c "network 10.30.1.0/24" \
-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
neighbor 10.1.1.9 remote-as 100
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.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
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

39 Default - Set Default R-4 00:39:53 Pass
Parameter ~$ vtysh -c "config" \
-c "route-map permit-all permit 10" \
-c "exit" \
-c "router bgp 400" \
-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 "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 "network 10.40.0.0/24" \
-c "network 10.40.1.0/24" \
-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
neighbor 10.1.3.1 remote-as 200
neighbor 10.1.3.2 remote-as 300
!
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
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.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

40 Verification Default R-1 00:40:01 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.250.0.51, local AS number 100 VRF default vrf-id 0
BGP table version 8
RIB entries 15, using 1920 bytes of memory
Peers 2, using 47 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 14 11 8 0 0 00:00:22 5 8 N/A
10.1.1.10 4 300 17 12 8 0 0 00:00:14 5 8 N/A

Total number of neighbors 2
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 4 200
contain string: 10.1.1.10 4 300
contain string: Total number of neighbors 2
41 Verification Default R-1 00:40:06 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 8, local router ID is 10.250.0.51, 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.1.1.0/30 0.0.0.0 0 32768 i
*> 10.1.1.4/30 0.0.0.0 0 32768 i
*> 10.1.3.0/24 10.1.1.2 0 0 200 i
* 10.1.1.10 0 300 200 i
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.10 0 0 300 i
* 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.10 0 0 300 i
* 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
* 10.1.1.10 0 300 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
* 10.1.1.10 0 300 200 400 i

Displayed 8 routes and 13 total paths
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 0 0 200 i
contain string: 10.1.1.2 0 200 300 i
contain string: 10.1.1.2 0 200 400 i
42 Verification Default R-1 00:40:12 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:30
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:03:30
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:03:19
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:03:19
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:03:25
B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:32
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:03:13
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:03:08
B>* 10.30.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:24
B>* 10.30.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:24
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:13:07
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:13:07
Judgement Success

inter-conditional operator : and
contain string: B>* 10.1.3.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 Set bgp as-path access-list R-2 00:40:17 Pass
Parameter ~$ vtysh -c "config" \
-c "bgp as-path access-list 1 deny ^$" \
-c "bgp as-path access-list 1 permit .*" \
-c "end"
Response Success
44 Set route-map R-2 00:40:22 Pass
Parameter ~$ vtysh -c "config" \
-c "route-map as-prepend permit 10" \
-c "match as-path 1" \
-c "set as-path prepend 200 200 200" \
-c "route-map as-prepend permit 20" \
-c "description empty_route-map" \
-c "end"
Response Success
45 Set neighbor route-map R-2 00:40:28 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "neighbor 10.1.1.1 route-map as-prepend out" \
-c "end" \
-c "clear ip bgp 10.1.1.1 soft out"
Response Success
46 Verification route-map R-1 00:40:33 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 10, local router ID is 10.250.0.51, 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.1.1.0/30 0.0.0.0 0 32768 i
*> 10.1.1.4/30 0.0.0.0 0 32768 i
*> 10.1.3.0/24 10.1.1.2 0 0 200 i
* 10.1.1.10 0 300 200 i
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.10 0 0 300 i
* 10.1.1.2 0 200 200 200 200 300 i
*> 10.30.1.0/24 10.1.1.10 0 0 300 i
* 10.1.1.2 0 200 200 200 200 300 i
*> 10.40.0.0/24 10.1.1.10 0 300 200 400 i
* 10.1.1.2 0 200 200 200 200 400 i
*> 10.40.1.0/24 10.1.1.10 0 300 200 400 i
* 10.1.1.2 0 200 200 200 200 400 i

Displayed 8 routes and 13 total paths
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 0 200 200 200 200 300 i
contain string: 10.1.1.2 0 200 200 200 200 400 i
47 Verification route-map R-1 00:40:39 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

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

inter-conditional operator : and
contain string: B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.40.0.0/24 [20/0] via 10.1.1.10, Ethernet8
contain string: B>* 10.40.1.0/24 [20/0] via 10.1.1.10, Ethernet8
48 Delete neighbor route-map R-2 00:40:44 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "no neighbor 10.1.1.1 route-map as-prepend out" \
-c "neighbor 10.1.1.1 route-map permit-all out" \
-c "end" \
-c "clear ip bgp 10.1.1.1 soft out"
Response Success
49 Delete route-map R-2 00:40:50 Pass
Parameter ~$ vtysh -c "config" \
-c "no route-map as-prepend" \
-c "end"
Response Success
50 Delete bgp as-path access-list R-2 00:40:55 Pass
Parameter ~$ vtysh -c "config" \
-c "no bgp as-path access-list 1" \
-c "end"
Response Success
51 Verification Default R-1 00:41:01 Pass
Parameter ~$ vtysh -c "show ip bgp summary"
Response
IPv4 Unicast Summary:
BGP router identifier 10.250.0.51, local AS number 100 VRF default vrf-id 0
BGP table version 12
RIB entries 15, using 1920 bytes of memory
Peers 2, using 47 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 23 14 12 0 0 00:01:22 5 8 N/A
10.1.1.10 4 300 18 15 12 0 0 00:01:14 5 8 N/A

Total number of neighbors 2
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 4 200
contain string: 10.1.1.10 4 300
contain string: Total number of neighbors 2
52 Verification Default R-1 00:41:06 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 12, local router ID is 10.250.0.51, 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.1.1.0/30 0.0.0.0 0 32768 i
*> 10.1.1.4/30 0.0.0.0 0 32768 i
*> 10.1.3.0/24 10.1.1.2 0 0 200 i
* 10.1.1.10 0 300 200 i
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.10 0 0 300 i
* 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.10 0 0 300 i
* 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
* 10.1.1.10 0 300 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
* 10.1.1.10 0 300 200 400 i

Displayed 8 routes and 13 total paths
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 0 0 200 i
contain string: 10.1.1.2 0 200 300 i
contain string: 10.1.1.2 0 200 400 i
53 Verification Default R-1 00:41:12 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:30
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:04:30
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:04:19
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:04:19
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:04:25
B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:32
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:04:13
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:04:08
B>* 10.30.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:01:24
B>* 10.30.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:01:24
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:27
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:27
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:14:07
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:14:07
Judgement Success

inter-conditional operator : and
contain string: B>* 10.1.3.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
54 Delete Default R-1 00:41:17 Pass
Parameter ~$ vtysh -c "config" \
-c "no router bgp 100" \
-c "end"
Response Success
55 Delete Default R-2 00:41:22 Pass
Parameter ~$ vtysh -c "config" \
-c "no router bgp 200" \
-c "end"
Response Success
56 Delete Default R-3 00:41:28 Pass
Parameter ~$ vtysh -c "config" \
-c "no router bgp 300" \
-c "end"
Response Success
57 Delete Default R-4 00:41:33 Pass
Parameter ~$ vtysh -c "config" \
-c "no router bgp 400" \
-c "end"
Response Success