07-27-2010 04:07 AM
Using CLI, is it possible to identify all the PE routers that contain a particular VRF? Also, the interfaces that are part of that VRF...
07-27-2010 04:26 AM
Hi,
One way is to execute "show ip bgp vpnv4 vrf
show ip bgp vpnv4 vrf
prefix next-hop bgp attributes
Regarding the interfaces in other PE routers for a VRF i doubt there is not any CLI exist in a remote PE router.
HTH..
thanks
Arun
07-28-2010 01:04 PM
Hello Mohsin,
you can use
sh ip vrf detail
but VRF name can be meaningful or not you need to look at also at route targets values
import: what VPNv4 prefixes are learned from signalling plane and imported as IPv4 routes in this specific VRF
export: how routes of this site are advertised to other PE nodes
also as suggested by Arun, but I use the following variant
sh ip bgp vpnv4 all
it shows you if the prefix is imported in a local VRF table (you will see a second section, a first section is the vpvn4 prefix), if it is the PE VRF is part of the VPN otherwise it is not.
Hope to help
Giuseppe
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide