Follow this procedure to enable auto shutdown of BGP neighbors on initial configuration.
device# configure terminal
device(config)# router bgp
device(config-bgp-router)# local-as 65520
device(config-bgp-router)# auto-shutdown-new-neighbors
This example summarizes the commands in this procedure.
device# configure terminal device(config)# router bgp device(config-bgp-router)# local-as 65520 device(config-bgp-router)# auto-shutdown-new-neighbors