[c-nsp] BGP Route Filtering
M K
gunner_200 at live.com
Wed Jun 4 10:55:36 EDT 2014
Hi
I have two IOS XR boxes , am establishing iBGP relation based on their loopback 0 interfaces
What am trying to do is to filter a route from being advertised
RP/0/0/CPU0:XR2#sh bgp ipv4 unicast neighbors 10.10.10.10 advertised-routes
Wed Jun 4 17:52:20.748 UTC
Network Next Hop From AS Path
192.168.2.0/24 20.20.20.20 Local i
192.168.12.0/24 20.20.20.20 192.168.202.2 4i
192.168.21.0/24 20.20.20.20 Local i
192.168.22.0/24 20.20.20.20 Local i
192.168.44.0/24 20.20.20.20 192.168.202.2 4i
192.168.144.0/24 20.20.20.20 192.168.202.2 4i
192.168.202.0/24 20.20.20.20 Local i
192.168.222.0/24 20.20.20.20 Local i
Processed 8 prefixes, 8 paths
XR2
prefix-set R2Lo3
192.168.144.0/24
end-setroute-policy NOADV if source in R2Lo3 then drop else pass endifend-policy router bgp 1 neighbor 10.10.10.10 address-family ipv4 unicast route-policy NOADV out
But the route is still being advertised
What is the issue?
Thanks
More information about the cisco-nsp
mailing list