Use this command to enter the BGP IPv4 or IPv6 L3 VPN address family configuration mode.
vpnv4 | Enters the BGP IPv4 L3 VPN address family configuration mode. |
vpnv6 | Enters the BGP IPv6 L3 VPN address family configuration mode. |
None.
BGP Router Configuration.
Within the IPv4 or IPv6 L3 VPN address family mode, you can enable the L3 VPN address family using enable.
IPv4 unicast BGP peers are activated by default in a non-L3 VPN context. BGP peers within either the IPv4 or IPv6 L3 VPN address family must be administratively activated using neighbor activate.
BGP routes associated with the neighbor must be redistributed to the customer edge router on the VRF that will use the L3 VPN.
Note
To redistribute routes assoicated with the neighbor, enter the BGP global configuration address family using address-family, specifying the VRF option, and use the appropriate redistribute command.This example shows how to:
System(rw)-> System(su-config)->router bgp 65151 System(su-config-bgp)->bgp router-id 159.1.1.9 System(su-config-bgp)->neighbor 159.1.1.50 remote-as 65151 System(su-config-bgp)->neighbor 159.1.1.50 update-source 159.1.1.9 System(su-config-bgp)->address-family vpnv4 System(su-config-bgp-af-vpn)->enable System(su-config-bgp-af-vpn)->159.1.1.50 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)->
This example shows how to:
System(rw)-> System(su-config)->router bgp 65151 System(su-config-bgp)->bgp router-id 4000:1::a System(su-config-bgp)->neighbor 4000:1::5 remote-as 65151 System(su-config-bgp)->neighbor 4000:1::5 update-source 4000:1::a System(su-config-bgp)->address-family vpnv6 System(su-config-bgp-af-vpn)->enable System(su-config-bgp-af-vpn)->4000:1::5 neighbor activate System(su-config-bgp-af-vpn)->exit System(su-config-bgp)->address-family ipv6 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)->