Administrator Guide

Enabling or disabling BGP neighbors
You can enable or disable all the configured BGP neighbors using the shutdown all command in ROUTER BGP mode.
To disable all the configured BGP neighbors:
1. Enter the router bgp mode using the following command:
CONFIGURATION Mode
router bgp as-number
2. In ROUTER BGP mode, enter the following command:
ROUTER BGP Mode
shutdown all
You can use the no shutdown all command in the ROUTER BGP mode to re-enable all the BGP interface.
You can also enable or disable BGP neighbors corresponding to the IPv4 unicast or multicast groups and the IPv6 unicast
groups.
To enable or disable BGP neighbors corresponding to the IPv4 unicast groups:
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 groups using the following command:
shutdown address-family-ipv4-unicast
To enable or disable BGP neighbors corresponding to IPv4 multicast groups:
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 groups using the following command:
ROUTER-BGP Mode
shutdown address-family-ipv4-multicast
To enable or disable BGP neighbors corresponding to the IPv6 unicast groups:
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 groups 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
Border Gateway Protocol IPv4 (BGPv4)
207