TEST REPORT

SUMMARY

Description               "scenario_bgp_policy_origin_attribute" result report

Start Time                   2026-10-03T02:36:42.759917

Index Scenario Time Stamp Pass/Fail
1 Print Topology Image 02:37:42 1 / 0
2 Session Check 02:37:42 4 / 0
3 IP Assign for BGP Func Test 02:37:42 30 / 0
4 Origin Attribute Function 02:40:53 31 / 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 02:37:42 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:37:42 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:23:36 2026 from 10.250.0.1

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

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

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

admin@R-4:~$
 
6 Assign IPv4 on R-1 R-1 02:37:42 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 02:37:40 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:37:50 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 02:37:48 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:37:57 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 02:37:55 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:38:05 Pass
Parameter ~$ sudo config interface ip add Ethernet4 10.1.1.1/30
Response Success
10 Assign IPv4 on R-1 R-1 02:38:10 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.1.9/30
Response Success
11 Assign IPv4 on R-1 R-1 02:38:16 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.1.1.5/30
Response Success
12 Assign IPv4 on R-1 R-1 02:38:22 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.10.1.1/24
Response Success
13 Assign IPv4 on R-1 R-1 02:38:27 Pass
Parameter ~$ sudo config interface ip add Ethernet20 10.10.2.1/24
Response Success
14 Assign IPv4 on R-2 R-2 02:38:33 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 02:38:32 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:38:40 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 02:38:40 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:38:48 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 02:38:47 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:38:55 Pass
Parameter ~$ sudo config interface ip add Ethernet4 10.1.1.2/30
Response Success
18 Assign IPv4 on R-2 R-2 02:39:01 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.1.6/30
Response Success
19 Assign IPv4 on R-2 R-2 02:39:06 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.1.3.1/24
Response Success
20 Assign IPv4 on R-2 R-2 02:39:12 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.20.0.1/24
Response Success
21 Assign IPv4 on R-2 R-2 02:39:18 Pass
Parameter ~$ sudo config interface ip add Ethernet20 10.20.1.1/24
Response Success
22 Assign IPv4 on R-3 R-3 02:39:23 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 02:39:22 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:39:31 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 02:39:30 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:39:38 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 02:39:37 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:39:45 Pass
Parameter ~$ sudo config interface ip add Ethernet0 10.1.1.10/30
Response Success
26 Assign IPv4 on R-3 R-3 02:39:51 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.3.2/24
Response Success
27 Assign IPv4 on R-3 R-3 02:39:57 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.30.0.1/24
Response Success
28 Assign IPv4 on R-3 R-3 02:40:02 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.30.1.1/24
Response Success
29 Assign IPv4 on R-4 R-4 02:40:08 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 02:40: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

30 Assign IPv4 on R-4 R-4 02:40:16 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 02:40: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

31 Assign IPv4 on R-4 R-4 02:40:23 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 02:40: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

32 Assign IPv4 on R-4 R-4 02:40:31 Pass
Parameter ~$ sudo config interface ip add Ethernet4 10.1.4.1/24
Response Success
33 Assign IPv4 on R-4 R-4 02:40:36 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.3.3/24
Response Success
34 Assign IPv4 on R-4 R-4 02:40:42 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.40.0.1/24
Response Success
35 Assign IPv4 on R-4 R-4 02:40:47 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.40.1.1/24
Response Success
 
36 Default - Set Default R-1 02:40:53 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 02:41:01 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 02:41:09 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 "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 "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
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
network 10.1.3.0/24
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
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

39 Default - Set Default R-4 02:41:17 Pass
Parameter ~$ vtysh -c "config" \
-c "route-map permit-all permit 10" \
-c "exit" \
-c "router bgp 400" \
-c "redistribute connected" \
-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 "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
redistribute connected
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 02:41:24 Pass
Parameter ~$ vtysh -c "show ip bgp 10.1.4.0/24 longer-prefixes"
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.4.0/24 10.1.1.2 0 200 400 ?
* 10.1.1.10 0 300 400 ?

Displayed 1 routes and 17 total paths
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 0 200 400 ?
contain string: 10.1.1.10 0 300 400 ?
contain string: Displayed 1 routes and 17 total paths
41 Verification Default R-1 02:41:30 Pass
Parameter ~$ vtysh -c "show ip bgp 10.40.0.0/24 longer-prefixes"
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.40.0.0/24 10.1.1.2 0 200 400 ?
* 10.1.1.10 0 300 400 ?

Displayed 1 routes and 17 total paths
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 0 200 400 ?
contain string: 10.1.1.10 0 300 400 ?
contain string: Displayed 1 routes and 17 total paths
42 Verification Default R-1 02:41:35 Pass
Parameter ~$ vtysh -c "show ip bgp 10.40.1.0/24 longer-prefixes"
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.40.1.0/24 10.1.1.2 0 200 400 ?
* 10.1.1.10 0 300 400 ?

Displayed 1 routes and 17 total paths
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 0 200 400 ?
contain string: 10.1.1.10 0 300 400 ?
contain string: Displayed 1 routes and 17 total paths
43 Set Redistribute connected R-2 02:41:41 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "no network 10.1.3.0/24" \
-c "redistribute connected" \
-c "end"
Response Success
44 Verification Redistribute connected R-1 02:41:46 Pass
Parameter ~$ vtysh -c "show ip bgp 10.1.3.0/24 longer-prefixes"
Response BGP table version is 14, 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.3.0/24 10.1.1.10 0 0 300 i
* 10.1.1.2 0 0 200 ?

Displayed 1 routes and 23 total paths
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.10 0 0 300 i
contain string: 10.1.1.2 0 0 200 ?
contain string: Displayed 1 routes and 23 total paths
45 Verification Redistribute connected R-1 02:41:52 Pass
Parameter ~$ vtysh -c "show ip bgp 10.20.0.0/24 longer-prefixes"
Response BGP table version is 14, 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.20.0.0/24 10.1.1.2 0 0 200 ?
* 10.1.1.10 0 300 200 ?

Displayed 1 routes and 23 total paths
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 0 0 200 ?
contain string: 10.1.1.10 0 300 200 ?
contain string: Displayed 1 routes and 23 total paths
46 Verification Redistribute connected R-1 02:41:57 Pass
Parameter ~$ vtysh -c "show ip bgp 10.20.1.0/24 longer-prefixes"
Response BGP table version is 14, 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.20.1.0/24 10.1.1.2 0 0 200 ?
* 10.1.1.10 0 300 200 ?

Displayed 1 routes and 23 total paths
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 0 0 200 ?
contain string: 10.1.1.10 0 300 200 ?
contain string: Displayed 1 routes and 23 total paths
47 Verification Redistribute connected R-1 02:42: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:03:58
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:03:58
C>* 10.1.1.4/30 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.10, Ethernet8, weight 1, 00:00:22
B>* 10.1.4.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:44
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:03:41
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:03:41
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:03:35
B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.20.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
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.2, Ethernet4, weight 1, 00:00:44
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:44
B 10.250.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:11:46
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:11:46
Judgement Success

inter-conditional operator : and
contain string: B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8
contain string: B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.20.1.0/24 [20/0] via 10.1.1.2, Ethernet4
48 Set bgp as-path access-list R-3 02:42:08 Pass
Parameter ~$ vtysh -c "config" \
-c "bgp as-path access-list 1 permit ^400$" \
-c "end"
Response Success
49 Set route-map R-3 02:42:14 Pass
Parameter ~$ vtysh -c "config" \
-c "route-map SET-ORIGIN permit 10" \
-c "match as-path 1" \
-c "set origin egp" \
-c "route-map SET-ORIGIN permit 20" \
-c "end"
Response Success
50 Set neighbor route-map R-3 02:42:19 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 300" \
-c "neighbor 10.1.1.9 route-map SET-ORIGIN out" \
-c "end" \
-c "clear ip bgp 10.1.1.9 soft out"
Response Success
51 Verification route-map R-1 02:42:24 Pass
Parameter ~$ vtysh -c "show ip bgp 10.1.4.0/24 longer-prefixes"
Response BGP table version is 17, 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.4.0/24 10.1.1.10 0 300 400 e
* 10.1.1.2 0 200 400 ?

Displayed 1 routes and 23 total paths
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.10 0 300 400 e
52 Verification route-map R-1 02:42:30 Pass
Parameter ~$ vtysh -c "show ip bgp 10.40.0.0/24 longer-prefixes"
Response BGP table version is 17, 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.40.0.0/24 10.1.1.10 0 300 400 e
* 10.1.1.2 0 200 400 ?

Displayed 1 routes and 23 total paths
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.10 0 300 400 e
53 Verification route-map R-1 02:42:35 Pass
Parameter ~$ vtysh -c "show ip bgp 10.40.1.0/24 longer-prefixes"
Response BGP table version is 17, 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.40.1.0/24 10.1.1.10 0 300 400 e
* 10.1.1.2 0 200 400 ?

Displayed 1 routes and 23 total paths
Judgement Success

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

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:04:36
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:04:36
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:04:24
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:04:30
B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:01:00
B>* 10.1.4.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:21
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:04:19
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:04:19
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:04:13
B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:00
B>* 10.20.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:00
B>* 10.30.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:01:29
B>* 10.30.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:01:29
B>* 10.40.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:21
B>* 10.40.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:21
B 10.250.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:00
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:12:24
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:12:24
Judgement Success

inter-conditional operator : and
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
55 Delete neighbor route-map R-3 02:42:46 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 300" \
-c "no neighbor 10.1.1.9 route-map SET-ORIGIN out" \
-c "neighbor 10.1.1.9 route-map permit-all out" \
-c "end" \
-c "clear ip bgp 10.1.1.9 soft out"
Response Success
56 Delete route-map R-3 02:42:52 Pass
Parameter ~$ vtysh -c "config" \
-c "no route-map SET-ORIGIN" \
-c "end"
Response Success
57 Delete bgp as-path access-list R-3 02:42:57 Pass
Parameter ~$ vtysh -c "config" \
-c "no bgp as-path access-list 1" \
-c "end"
Response Success
58 Verification Redistribute connected R-1 02:43:02 Pass
Parameter ~$ vtysh -c "show ip bgp 10.1.3.0/24 longer-prefixes"
Response BGP table version is 20, 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.3.0/24 10.1.1.10 0 0 300 i
* 10.1.1.2 0 0 200 ?

Displayed 1 routes and 23 total paths
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.10 0 0 300 i
contain string: 10.1.1.2 0 0 200 ?
contain string: Displayed 1 routes and 23 total paths
59 Verification Redistribute connected R-1 02:43:08 Pass
Parameter ~$ vtysh -c "show ip bgp 10.20.0.0/24 longer-prefixes"
Response BGP table version is 20, 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.20.0.0/24 10.1.1.2 0 0 200 ?
* 10.1.1.10 0 300 200 ?

Displayed 1 routes and 23 total paths
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 0 0 200 ?
contain string: 10.1.1.10 0 300 200 ?
contain string: Displayed 1 routes and 23 total paths
60 Verification Redistribute connected R-1 02:43:13 Pass
Parameter ~$ vtysh -c "show ip bgp 10.20.1.0/24 longer-prefixes"
Response BGP table version is 20, 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.20.1.0/24 10.1.1.2 0 0 200 ?
* 10.1.1.10 0 300 200 ?

Displayed 1 routes and 23 total paths
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.2 0 0 200 ?
contain string: 10.1.1.10 0 300 200 ?
contain string: Displayed 1 routes and 23 total paths
61 Verification Redistribute connected R-1 02:43:19 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:05:14
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:05:14
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:05:02
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:05:08
B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:01:38
B>* 10.1.4.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:32
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:04:57
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:04:57
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:04:51
B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:38
B>* 10.20.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:38
B>* 10.30.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:02:07
B>* 10.30.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:02:07
B>* 10.40.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:32
B>* 10.40.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:32
B 10.250.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:38
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.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8
contain string: B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4
contain string: B>* 10.20.1.0/24 [20/0] via 10.1.1.2, Ethernet4
62 Delete Redistribute connected R-2 02:43:24 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 200" \
-c "no redistribute connected" \
-c "network 10.1.3.0/24" \
-c "end"
Response Success
63 Delete Default R-1 02:43:30 Pass
Parameter ~$ vtysh -c "config" \
-c "no router bgp 100" \
-c "end"
Response Success
64 Delete Default R-2 02:43:35 Pass
Parameter ~$ vtysh -c "config" \
-c "no router bgp 200" \
-c "end"
Response Success
65 Delete Default R-3 02:43:40 Pass
Parameter ~$ vtysh -c "config" \
-c "no router bgp 300" \
-c "end"
Response Success
66 Delete Default R-4 02:43:46 Pass
Parameter ~$ vtysh -c "config" \
-c "no router bgp 400" \
-c "end"
Response Success