TEST REPORT

SUMMARY

Description               "scenario_bgp_policy_med_attribute" result report

Start Time                   2026-10-03T02:22:54.969808

Index Scenario Time Stamp Pass/Fail
1 Print Topology Image 02:23:53 1 / 0
2 Session Check 02:23:53 4 / 0
3 IP Assign for BGP Func Test 02:23:53 30 / 0
4 MED Attribute Function 02:27:03 21 / 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:23:53 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:23:53 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:09:20 2026 from 10.250.0.1

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

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

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

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

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

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

9 Assign IPv4 on R-1 R-1 02:24:15 Pass
Parameter ~$ sudo config interface ip add Ethernet4 10.1.1.1/30
Response Success
10 Assign IPv4 on R-1 R-1 02:24:21 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.1.9/30
Response Success
11 Assign IPv4 on R-1 R-1 02:24:26 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.1.1.5/30
Response Success
12 Assign IPv4 on R-1 R-1 02:24:32 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.10.1.1/24
Response Success
13 Assign IPv4 on R-1 R-1 02:24:38 Pass
Parameter ~$ sudo config interface ip add Ethernet20 10.10.2.1/24
Response Success
14 Assign IPv4 on R-2 R-2 02:24:43 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 02:24:43 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:24:51 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 02:24:50 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:24:58 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 02:24:57 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:25:06 Pass
Parameter ~$ sudo config interface ip add Ethernet4 10.1.1.2/30
Response Success
18 Assign IPv4 on R-2 R-2 02:25:11 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.1.6/30
Response Success
19 Assign IPv4 on R-2 R-2 02:25:17 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.1.3.1/24
Response Success
20 Assign IPv4 on R-2 R-2 02:25:23 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.20.0.1/24
Response Success
21 Assign IPv4 on R-2 R-2 02:25:28 Pass
Parameter ~$ sudo config interface ip add Ethernet20 10.20.1.1/24
Response Success
22 Assign IPv4 on R-3 R-3 02:25:34 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 02:25:33 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:25:41 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 02:25:41 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:25:49 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 02:25:48 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:25:56 Pass
Parameter ~$ sudo config interface ip add Ethernet0 10.1.1.10/30
Response Success
26 Assign IPv4 on R-3 R-3 02:26:02 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.3.2/24
Response Success
27 Assign IPv4 on R-3 R-3 02:26:07 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.30.0.1/24
Response Success
28 Assign IPv4 on R-3 R-3 02:26:13 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.30.1.1/24
Response Success
29 Assign IPv4 on R-4 R-4 02:26:19 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 02:26:18 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:26:26 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 02:26:25 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:26:34 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 02:26: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

32 Assign IPv4 on R-4 R-4 02:26:41 Pass
Parameter ~$ sudo config interface ip add Ethernet4 10.1.4.1/24
Response Success
33 Assign IPv4 on R-4 R-4 02:26:46 Pass
Parameter ~$ sudo config interface ip add Ethernet8 10.1.3.3/24
Response Success
34 Assign IPv4 on R-4 R-4 02:26:52 Pass
Parameter ~$ sudo config interface ip add Ethernet12 10.40.0.1/24
Response Success
35 Assign IPv4 on R-4 R-4 02:26:58 Pass
Parameter ~$ sudo config interface ip add Ethernet16 10.40.1.1/24
Response Success
 
36 Default - Set Default R-1 02:27:03 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 100" \
-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.8/30" \
-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 100
!
address-family ipv4 unicast
network 10.1.1.8/30
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:27:11 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 100" \
-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 "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 "neighbor 10.1.3.3 next-hop-self" \
-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 100
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 next-hop-self
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 next-hop-self
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:27:19 Pass
Parameter ~$ vtysh -c "config" \
-c "route-map permit-all permit 10" \
-c "exit" \
-c "router bgp 100" \
-c "network 10.1.1.8/30" \
-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 "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 100
neighbor 10.1.1.9 remote-as 100
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.1.1.8/30
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 02:27:27 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 "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
!
address-family ipv4 unicast
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

40 Verification default R-2 02:27:35 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 2, local router ID is 10.250.0.52, 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.1.1.8/30 10.1.1.1 0 0 100 i
*= 10.1.3.2 0 0 100 i

Displayed 1 routes and 2 total paths
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.1 0 0 100 i
contain string: 10.1.3.2 0 0 100 i
41 Verification default R-2 02: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:02:35
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:02:35
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:02:29
K 10.1.1.4/30 [0/0] is directly connected, Ethernet8, weight 1, 00:02:29
B>* 10.1.1.8/30 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:19
* via 10.1.3.2, Ethernet12, weight 1, 00:00:19
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:02:23
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:02:18
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:02:12
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.1.1.8/30 [20/0] via 10.1.1.1, Ethernet4
42 Set route-map R-1 02:27:45 Pass
Parameter ~$ vtysh -c "config" \
-c "route-map SET-MED permit 10" \
-c "set metric 100" \
-c "end"
Response Success
43 Set route-map R-3 02:27:51 Pass
Parameter ~$ vtysh -c "config" \
-c "route-map SET-MED permit 10" \
-c "set metric 50" \
-c "end"
Response Success
44 Set neighbor route-map R-1 02:27:56 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "neighbor 10.1.1.2 route-map SET-MED out" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft out"
Response Success
45 Set neighbor route-map R-3 02:28:02 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "neighbor 10.1.3.1 route-map SET-MED out" \
-c "end" \
-c "clear ip bgp 10.1.3.1 soft out"
Response Success
46 Verification neighbor route-map R-2 02:28:07 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 4, local router ID is 10.250.0.52, 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.1.1.8/30 10.1.3.2 50 0 100 i
* 10.1.1.1 100 0 100 i

Displayed 1 routes and 2 total paths
Judgement Success

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

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:03:07
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:03:07
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:03:01
K 10.1.1.4/30 [0/0] is directly connected, Ethernet8, weight 1, 00:03:01
B>* 10.1.1.8/30 [20/50] via 10.1.3.2, Ethernet12, weight 1, 00:00:11
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:02:55
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:02:50
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:02:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:10:20
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:10:20
Judgement Success

inter-conditional operator : and
contain string: B>* 10.1.1.8/30 [20/50] via 10.1.3.2, Ethernet12
48 Delete neighbor route-map R-1 02:28:18 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "no neighbor 10.1.1.2 route-map SET-MED out" \
-c "neighbor 10.1.1.2 route-map permit-all out" \
-c "end" \
-c "clear ip bgp 10.1.1.2 soft out"
Response Success
49 Delete neighbor route-map R-3 02:28:24 Pass
Parameter ~$ vtysh -c "config" \
-c "router bgp 100" \
-c "no neighbor 10.1.3.1 route-map SET-MED out" \
-c "neighbor 10.1.3.1 route-map permit-all out" \
-c "end" \
-c "clear ip bgp 10.1.3.1 soft out"
Response Success
50 Delete route-map R-1 02:28:29 Pass
Parameter ~$ vtysh -c "config" \
-c "no route-map SET-MED permit 10" \
-c "end"
Response Success
51 Delete route-map R-3 02:28:35 Pass
Parameter ~$ vtysh -c "config" \
-c "no route-map SET-MED permit 10" \
-c "end"
Response Success
52 Verification default R-2 02:28:40 Pass
Parameter ~$ vtysh -c "show ip bgp"
Response BGP table version is 6, local router ID is 10.250.0.52, 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.1.1.8/30 10.1.1.1 0 0 100 i
*= 10.1.3.2 0 0 100 i

Displayed 1 routes and 2 total paths
Judgement Success

inter-conditional operator : and
contain string: 10.1.1.1 0 0 100 i
contain string: 10.1.3.2 0 0 100 i
53 Verification default R-2 02:28:46 Pass
Parameter ~$ vtysh -c "show ip route"
Response Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure

IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:03:40
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:03:40
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:03:34
K 10.1.1.4/30 [0/0] is directly connected, Ethernet8, weight 1, 00:03:34
B>* 10.1.1.8/30 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:22
* via 10.1.3.2, Ethernet12, weight 1, 00:00:22
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:03:28
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:03:23
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:03:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:10:53
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:10:53
Judgement Success

inter-conditional operator : and
contain string: B>* 10.1.1.8/30 [20/0] via 10.1.1.1, Ethernet4
54 Delete Default R-1 02:28:51 Pass
Parameter ~$ vtysh -c "config" \
-c "no router bgp 100" \
-c "end"
Response Success
55 Delete Default R-2 02:28:57 Pass
Parameter ~$ vtysh -c "config" \
-c "no router bgp 200" \
-c "end"
Response Success
56 Delete Default R-3 02:29:02 Pass
Parameter ~$ vtysh -c "config" \
-c "no router bgp 100" \
-c "end"
Response Success