I have an existing BGP neighbour connection configured with a route-map that blocks a particular IP subnet in VOSS and I wish to remove it. The BGP neighbour is established in VRF green.
My routing table shows IP network 192.168.0.0/24 is not learnt from BGP neighbour 192.168.255.1 and the route-map is doing its job for VRF green.
ip bgp neighbor 192.168.255.1 in-route-map “denysubnet”
I want to remove the route-map and learn the IP network again.
Within the VRF green remove the route-map from the peer statement.
R1:1(config)#router vrf green
R1:1(router-vrf)#
R1:1(router-vrf)#no ip bgp neighbor 192.168.255.1 in-route-map
Restart or soft-restart the peer for the policy change to take effect
exit
R1:1(config)#ip bgp restart-bgp neighbor 192.168.255.1 vrf green soft-reconfiguration in
The routing table will now show the missing network that was filtered out by the route-map.