cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
618
Views
0
Helpful
2
Replies

Identification of VPN aware PEs

mohsin.khan
Level 3
Level 3

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...

2 Replies 2

arun kumar
Level 1
Level 1

Hi,

One way is to execute "show ip bgp vpnv4 vrf " in any of the PE router where vrf is configured. This will display the VRF routes and the corresponding PE router ip address in next hop field.

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

Giuseppe Larosa
Hall of Fame
Hall of Fame

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: