TEST REPORT

SUMMARY

Description               "scenario_bgp_policy_weight_attribute" result report

Start Time                   2026-10-03T05:23:07.466853

Index Scenario Time Stamp Pass/Fail
1 Print Topology Image 05:24:06 1 / 0
2 Session Check 05:24:06 4 / 0
3 IP Assign for BGP Func Test 05:24:06 30 / 0
4 Weight Attribute Function 05:27:17 13 / 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 05:24:06 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 05:24:06 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 04:42:32 2026 from 10.250.0.1

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

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

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

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

inter-conditional operator : and

23 Assign IPv4 on R-3 R-3 05:25:54 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 05:25:53 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

24 Assign IPv4 on R-3 R-3 05:26:02 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 05:26:01 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 05:26:09 Pass
Parameter ~$ sudo config interface ip add Ethernet0 10.1.1.10/30
Response Success
26 Assign IPv4 on R-3 R-3 05:26:15 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.3.2/24
Response Success
27 Assign IPv4 on R-3 R-3 05:26:20 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.30.0.1/24
Response Success
28 Assign IPv4 on R-3 R-3 05:26:26 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.30.1.1/24
Response Success
29 Assign IPv4 on R-4 R-4 05:26:32 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 05:26:30 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 05:26:39 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 05:26:38 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 05:26:47 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 05:26:45 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 05:26:54 Pass
Parameter ~$ sudo config interface ip add Ethernet4 10.1.4.1/24
Response Success
33 Assign IPv4 on R-4 R-4 05:27:00 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.3.3/24
Response Success
34 Assign IPv4 on R-4 R-4 05:27:05 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.40.0.1/24
Response Success
35 Assign IPv4 on R-4 R-4 05:27:11 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.40.1.1/24
Response Success
 
36 Default - Set Default R-1 05:27:17 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 200" \
-c "neighbor 10.1.1.10 route-map permit-all in" \
-c "neighbor 10.1.1.10 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
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 200
!
address-family ipv4 unicast
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 05:27:25 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 200" \
-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.2 next-hop-self" \
-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 200
!
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 next-hop-self
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

38 Default - Set Default R-3 05:27:32 Pass
Parameter ~$ vtysh -c "config" \
-c "route-map permit-all permit 10" \
-c "exit" \
-c "router bgp 200" \
-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.1 next-hop-self" \
-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-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 200
neighbor 10.1.1.9 remote-as 100
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.1.3.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 next-hop-self
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 Verification default R-1 05:27:40 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:03:11
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:03:11
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:03:00
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:03:06
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:03:06
B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:05
* via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:02:54
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:02:49
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:11:02
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:11:02
Judgement Success

inter-conditional operator : and
contain string: B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4
40 Set route-map R-1 05:27:46 Pass
Parameter ~$ vtysh -c "config" \
-c "route-map SET-WEIGHT permit 10" \
-c "set weight 100" \
-c "end"
Response Success
41 Set neighbor route-map R-1 05:27:51 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "neighbor 10.1.1.10 soft-reconfiguration inbound" \
-c "neighbor 10.1.1.10 route-map SET-WEIGHT in" \
-c "end" \
-c "clear ip bgp 10.1.1.10 soft in"
Response Success
42 Verification route-map R-1 05:27:56 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 3, 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 100 200 i
* 10.1.1.2 0 0 200 i

Displayed 1 routes and 2 total paths
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.10 0 100 200 i
43 Verification route-map R-1 05:28:02 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:33
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:03:33
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:03:22
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:03:28
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:03:28
B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:11
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:03:16
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:03:11
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:11:24
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:11:24
Judgement Success

inter-conditional operator : and
contain string: B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8
44 Delete neighbor route-map R-1 05:28:07 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "no neighbor 10.1.1.10 route-map SET-WEIGHT in" \
-c "end"
Response Success
45 Delete route-map R-1 05:28:13 Pass
Parameter ~$ vtysh -c "config" \
-c "no route-map SET-WEIGHT permit 10" \
-c "end"
Response Success
46 Delete Default R-1 05:28:18 Pass
Parameter ~$ vtysh -c "config" \
-c "no router bgp 100" \
-c "end"
Response Success
47 Delete Default R-2 05:28:23 Pass
Parameter ~$ vtysh -c "config" \
-c "no router bgp 200" \
-c "end"
Response Success
48 Delete Default R-3 05:28:29 Pass
Parameter ~$ vtysh -c "config" \
-c "no router bgp 200" \
-c "end"
Response Success