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

how to configure vpnv4 under vrf

Aoi
Level 1
Level 1

Hello
This may be an odd question to ask, but is it possible to configure MPLS VPN under a VRF?

I was looking for a command something like "address-family vpnv4 unicast vrf ABC" but did not seem to have it set on Cisco routers. 

Is there a reason why we cannot configure vpnv4 under a VRF?
Thank you

2 Replies 2

vpnv4 is design to carry prefix from all VRF to bgp neighbour. 
so vpnv4 is not vrf aware.  

Paw_Paw
Level 1
Level 1

If you wanna configure something in a vrf (redistribution for example) you configure this in the address family ipv4. As MHM said: vpnv4 is not vrf aware.

here an example configuration:

 

router bgp 64999
bgp router-id 10.100.100.101
bgp log-neighbor-changes
timers bgp 10 20
neighbor 10.100.100.1 remote-as 64999
!
!
address-family vpnv4
neighbor 10.100.100.1 activate
neighbor 10.100.100.1 send-community both
exit-address-family
!
address-family ipv4 vrf cust-1
redistribute connected
exit-address-family

Review Cisco Networking for a $25 gift card