Users Guide

To enable or disable BGP neighbors corresponding to the IPv4 unicast address families, use the following commands:
1. Enter the router bgp mode using the following command:
CONFIGURATION Mode
router bgp as-number
2. Shut down the BGP neighbors corresponding to the IPv4 unicast address family using the following command:
shutdown address-family-ipv4-unicast
To enable or disable BGP neighbors corresponding to IPv4 multicast address family:
1. Enter the router bgp mode using the following command:
CONFIGURATION Mode
router bgp as-number
2. Shut down the BGP neighbors corresponding to IPv4 multicast address family using the following command:
ROUTER-BGP Mode
shutdown address-family-ipv4-multicast
To enable or disable BGP neighbors corresponding to the IPv6 unicast address family:
1. Enter the router bgp mode using the following command:
CONFIGURATION Mode
router bgp as-number
2. Shut down the BGP neighbors corresponding to the IPv6 unicast address family using the following command:
ROUTER-BGP Mode
shutdown address-family-ipv6-unicast
When you configure BGP, you must explicitly enable the BGP neighbors using the following commands:
neighbor {ip-address | peer-group name} remote-as as-number
neighbor {ip-address | peer-group-name} no shutdown
For more information on enabling BGP, see Enabling BGP.
When you use the shutdown all command in global configuration mode, this command takes precedence over the
shutdown address-family-ipv4-unicast, shutdown address-family-ipv4-multicast, and shutdown
address-family-ipv6-unicast commands. Irrespective of whether the BGP neighbors are disabled earlier, the
shutdown all command brings down all the configured BGP neighbors.
When you issue the no shutdown all command, all the BGP neighbor neighbors are enabled. However, when you re-enable
all the BGP neighbors in global configuration mode, only the neighbors that were not in disabled state before the global
shutdown come up.
Meaning, BGP neighbors corresponding to the IPv4 unicast or multicast address family and the IPv6 unicast address family that
were explicitly disabled before the global shutdown remains in disabled state. Use the no shutdown address-family-
ipv4-unicast, no shutdown address-family-ipv4-multicast, or no shutdown address-family-ipv6-
unicast commands to enable these neighbors.
NOTE:
This behavior applies to all BGP neighbors. Meaning, BGP neighbors that were explicitly disabled before global
shutdown also remain in disabled state. Enable these neighbors individually using the no shutdown command.
Border Gateway Protocol (BGP) 217