Chapter 35 commands for bgp and mbgp4, 1 address-family, 2 address-family ipv4 – PLANET XGS3-24040 User Manual
Page 513: Address, Family, Family ipv
![background image](https://www.manualsdir.com/files/865186/content/doc513.png)
35-226
Chapter 35 Commands for BGP and
MBGP4+
35.1 address-family
Command: address-family
Function: Enter address-family mode.
Parameter:
Default: None.
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.
Example:
Switch(config-router)# address-family ipv4 unicast
35.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 command deletes the configuration of the
address-family.
Parameter:
Command Mode: BGP Route Mode.
Usage Guide: To support 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
under global mode. 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