Chapter 37 commands for bgp and mbgp4, 1 address-family, Chapter 37 commands for bgp and mbgp4+ -260 – PLANET XGS3-24042 User Manual
Page 621: Address, Family

37-260
Chapter 37 Commands for BGP and
MBGP4+
37.1 address-family
Command:
address-family
Function:
Enter address-family mode.
Parameter:
Command Mode:
BGP routing mode
Usage Guide:
Since the BGP-4 supports multi-protocol, it is available to get different configuration for each
address-family. Actually the configuration outside address-family mode is configuring the default
address-family (normally IPv4 unicast). To configure non default mode, enter this address-family
mode.
If support MCE, VRF has to be enabled and connected with the corresponding address-family.
Configuration performed with this command to specific VRF, is independent from IPv4 unicast
address-family. The VRF configuration is performed by using ip vrf
mode. The address-family configuration is only available after the VRF is set.
If 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.
Example:
1) Enter IPv4 unicast address-family mode.
Switch(config-router)# address-family ipv4 unicast
2) In the example below a VRF name DC1 is created, and then enter the BGP address-family for its
configuration.
Switch(config)#ip vrf DC1