The shutdown command terminates all sessions between a device and its BGP peers.
The undo shutdown command cancels the termination of all sessions between a device and its BGP peers.
By default, the function of terminating all sessions between a device and its BGP peers is disabled.
Sessions between a device and its BGP peers need to be terminated to minimize the impact of BGP route flapping on the network during upgrade or maintenance. If a large number of BGP peers exist, you can run the shutdown command in the BGP view to terminate all sessions with BGP peers at a time, rather than run the peer ignore command repeatedly to terminate the session with each BGP peer.