[c-nsp] IOS XR vrf export route-policy
Aaron
aaron1 at gvtc.com
Thu Feb 18 17:40:09 EST 2016
Shouldn't the following block 192.168.252.0/24 from being exported ? What
am I not understanding about vrf export maps ?
I have bounced BVI200 on this PE and I see the route get removed from remote
PE's, but when I no shut bvi200 that route is readvertised and the export
map doesn't seem to drop that route like I'm trying to do.
I have bounced bgp also on this PE, and still don't see that route being
dropped like I'm trying to accomplish.
vrf one
address-family ipv4 unicast
import route-target
1:1
!
export route-policy routes-export
export route-target
1:1
!
!
!
route-policy routes-export
if destination in export-1to1-all-routes then
drop
endif
end-policy
!
prefix-set export-1to1-all-routes
192.168.252.0/24
end-set
!
RP/0/RSP0/CPU0:eng-lab-9k-1#sh route vrf one connected | in BVI
C 192.168.252.0/24 is directly connected, 00:05:53, BVI200
Aaron
More information about the cisco-nsp
mailing list