2 address-family ipv4, 3 address-family vpnv4 – Accton Technology ES4626 User Manual
Page 527

527
mode is configuring the default address-family (normally IPv4 unicast). To configure non
default mode, enter this address-family mode
Example:
Switch(config-router)# address-family ipv4 unicast
13.8.3.2 address-family ipv4
Command: address-family ipv4 {
multicast | unicast | vrf
no address-family ipv4 vrf
Function:
Enter BGP VRF address-family mode. The “no address-family ipv4 vrf
“ command deletes the configuration of the address-family
Parameter:
specifies the name of VPN routing/forwarding instances.
Command Mode:
BGP mode
Usage Guide:
To support MPLS VPN, VRF has to be enabled on the border routers; to
realize VPN, create neighbors for BGP with the VRF address family on the private
network, and with VPNv4 address-family on the public network. Configuration performed
with this command to specific VRF, is independent from IPv4 unicast address-family. The
VRF configuration is performed by using ip vrf
The address-family configuration is only available after the VRF RD is set.
Example:
In the example below a VRF name DC1 is created with RD at 100: :10, and
then enter the BGP address-family for its configuration.
Switch(config)#ip vrf DC1
Switch(config-vrf)#rd 100:10
Switch(config-vrf)#exit
Switch(config)#router bgp 100
Switch(config-router)#address-family ipv4 vrf DC1
Switch(config-router-af)#
13.8.3.3 address-family vpnv4
Command: address-family vpnv4
Function:
Enter the BGP VPNv4 address family mode
Parameter:
None
Command Mode:
BGP mode
Usage Guide:
To support MPLS VPN, VRF has to be enabled on the border routers; to
realize VPN, create neighbors for BGP with the VRF address family on the private
network, and with VPNv4 address-family on the public network. When configuring VPNv4
address-family with this command, IPv4 unicast address connection is available. Its
neighbor configuration could be the same with IPv4 unicast only by using neighbor
A.B.C.D activate on this neighbor to enable this address-family