Configure Auto Shutdown of BGP Neighbors on Initial Configuration

  1. Enter the configure terminal command to access global configuration mode.
    device# configure terminal
  2. Enter the router bgp command to enable BGP routing.
    device(config)# router bgp
  3. Enter the local-as command to configure the autonomous system number (ASN) in which your device resides.
    device(config-bgp-router)# local-as 65520
  4. Enter the auto-shutdown-new-neighbors command to prevent the BGP peer from attempting to establish connections with remote peers until all BGP neighbor parameters are configured.
    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