This section details a few considerations specific to the L3 VPN configuration.
BGP is configured on the global VRF. Configure BGP for your network as you would if you were not configuring L3 VPN.
The VPN address family for the IP type you are using must be enabled. Enter the VPN address family mode for the IP type you are using on the VPN using the address-family vpnv4 or address-family vpnv6 command. In the appropriate VPN address family configuration mode, use the enable command to enable the address family.
BGP peers within either the IPv4 or IPv6 L3 VPN address family must be administratively activated using the neighbor activate command.
BGP routes associated with the neighbor must be redistributed to the CE router on the VRF that will use the L3 VPN. To redistribute routes learned from the PE router neighbor for this VRF, enter the BGP global configuration address family using the address-family ipv4 vrf command or the address-family ipv6 vrf command. Once in the BGP global configuration address family mode, use the appropriate redistribute command for the routes to be redistributed to the CE router.
This example shows how to:
System(rw)-> System(su-config)->router bgp 65151 System(su-config-bgp)->bgp router-id 100.10.10.1 System(su-config-bgp)->neighbor 100.10.10.5 remote-as 65151 System(su-config-bgp)->neighbor 100.10.10.5 update-source 100.10.10.1 System(su-config-bgp)->address-family vpnv4 System(su-config-bgp-af-vpn)->enable System(su-config-bgp-af-vpn)->100.10.10.5 neighbor activate System(su-config-bgp-af-vpn)->exit System(su-config-bgp)->address-family ipv4 vrf vr1 System(su-config-bgp-af-vrf)->redistribute static System(su-config-bgp-af-vrf)->exit System(su-config-bgp)->exit System(rw-config)->