Requirement:
8325 - Modifying an IP prefix list that is part of a route-map will not take effect immediately.
A soft reset of BGP is required to allow advertisements or withdrawn routes to be updated.
Solution:Use the following command to reset bgp
832(config)# clear bgp vrf XXXX all * soft out
This is working as designed.
https://techhub.hpe.com/eginfolib/Aruba/OS-CX_10.04/5200-6702/index.html#GUID-74DDC07B-705D-4456-8C35-0EBC73BB3D1C.html
Configuration:
Config
ip prefix-list TEST-OUT seq 10 permit 10.10.10.144/28 le 32
route-map RM-TEST-OUT permit seq 10
match ip address prefix-list TEST-OUT
bgp xxxxx
address-family ipv4 unicast
neighbor 100.100.100.5 route-map RM-TEST-OUT out
VerificationThe following commands were used to help identify the process
Debug bgp all
show bgp vrf VRF-TEST ipv4 unicast neighbors 100.100.100.5 advertised-route
Modify the IP Prefix-list
8325(config)# no ip prefix-list TEST-OUT seq 10 permit 10.10.10.144/28 le 32
8325(config)# show bgp vrf VRF-TEST ipv4 unicast neighbors 100.100.100.5 advertised-route
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
i internal, e external S Stale, R Removed, a additional-paths
Origin codes: i - IGP, e - EGP, ? - incomplete
VRF : VRF-TEST
Local Router-ID 100.100.100.1
Network Nexthop Metric LocPrf Weight Path
*>e 10.10.10.144/28 100.100.100.9 0 0 0 65555?
*>e 10.10.254.0/29 100.100.100.9 0 0 0 65555 ?
show debug buffer
---------------------------------------------------------------------------------------------------------------------------------
2021-01-14:21:23:15.050655|hpe-routing|LOG_INFO|AMM|-|BGP|BGP_CONFIG|Prefix List TEST-OUT seq 10 ge 0 le 32 Unconfigured
8325(config)# show bgp vrf VRF-TEST ipv4 unicast neighbors 100.100.100.5 advertised-route
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
i internal, e external S Stale, R Removed, a additional-paths
Origin codes: i - IGP, e - EGP, ? - incomplete
VRF : VRF-TEST
Local Router-ID 100.100.100.1
Network Nexthop Metric LocPrf Weight Path
*>e 10.10.10.144/28 100.100.100.9 0 0 0 65555?
*>e 10.10.254.0/29 100.100.100.9 0 0 0 65555 ?
Total number of entries 2
8325(config)# clear bgp vrf VRF-TEST all * soft out
8325(config)# show bgp vrf VRF-TEST ipv4 unicast neighbors 100.100.100.5 advertised-route
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
i internal, e external S Stale, R Removed, a additional-paths
Origin codes: i - IGP, e - EGP, ? - incomplete
VRF : VRF-TEST
Local Router-ID 100.100.100.1
Network Nexthop Metric LocPrf Weight Path
*>e 10.10.254.0/29 100.100.100.9 0 0 0 65555 ?
Total number of entries 1