The shutdown command terminates all sessions between a device and its BGP peers.
The undo shutdown command restores the default setting.
By default, the function of closing all sessions between a device and its BGP peers is disabled.
During system upgrade or maintenance, the sessions between a device and its BGP peers need to be closed to minimize the impact of BGP route flapping on the network. If a large number of BGP peers exist, the shutdown command can be run in the BGP view to close all sessions with BGP peers. This frees you from running the peer ignore command repeatedly to close the sessions one by one.