01-31-2023 06:02 AM
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
01-31-2023 06:21 AM
vpnv4 is design to carry prefix from all VRF to bgp neighbour.
so vpnv4 is not vrf aware.
01-31-2023 06:46 AM
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
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