Setup Guide

Enabling or disabling BGP neighbors
You can enable or disable all the congured BGP neighbors using the shutdown all command in ROUTER BGP mode.
To disable all the congured 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 address families and the IPv6 unicast address
family.
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 congure 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.
236
Border Gateway Protocol (BGP)