Configure a BGP4 Neighbor

  1. Access global configuration mode.
    device# configure terminal
  2. Access BGP configuration mode.
    device(config)# router bgp
  3. Specify the autonomous system in which your device resides.
    device(config-bgp-router)# local-as 1000
  4. Specify the ASN for the autonomous system in which the neighbor resides.
    device(config-bgp-router)# neighbor 10.1.1.1 remote-as 1001
    This example configures ASN 1001 for the neighbor with IP address 10.1.1.1.
This example summarizes the commands in this procedure.
device# configure terminal
device(config)# router bgp
device(config-bgp-router)# local-as 1000
device(config-bgp-router)# neighbor 10.1.1.1 remote-as 1001