BGP enabled devices connected through an established TCP connection are referred to as BGP peers or neighbors. To establish a TCP connection, BGP routers exchange open messages containing the following information: AS number, BGP version running, BGP router ID, and timer values (keepalive and holdtime). Once these values are accepted by both devices, the connection is established and the routers become neighbors. With the TCP connection established the BGP neighbors begin sharing routing information and updates. A failure in the establishment of the TCP connection indicates that the routers are not neighbors and cannot exchange routing information.
Use the (profile/device-config) instance to configure BGP neighbors.
<DEVICE>(config)#profile <PROFILE-NAME>
<DEVICE>(config-profile <PROFILE-NAME>)#router bgp <DEVICE>(config-profile <PROFILE-NAME>-router-bgp)#?
<DEVICE>(config-profile <PROFILE-NAME>-router-bgp)#bgp neighbor ? A.B.C.D IP address of the bgp neighbor <DEVICE>(config-profile <PROFILE-NAME>-router-bgp)#
<DEVICE>(config-profile <PROFILE-NAME>-router-bgp)#bgp neighbor <IP>
<DEVICE>(config-profile <PROFILE-NAME>-router--bgp-neighbor-<IP>)#?
Router BGP Neighbor Mode commands:
  activate                   Enable the Address Family for this Neighbor
                             (EXPERIMENTAL)
  advertisement-interval     Minimum interval between BGP routing updates
  allowas-in                 Accept as-path with my AS present in it
                             (EXPERIMENTAL)
  attribute-unchanged        BGP attribute is propagated unchanged to this
                             neighbor (EXPERIMENTAL)
  capability                 Advertise capability to the peer
  default-originate          Originate default route to this neighbor
  description                Neighbor specific description
  disable-connected-check    One-hop away EBGP peer using loopback address
                             (EXPERIMENTAL)
  dont-capability-negotiate  Do not perform capability negotiation
                             (EXPERIMENTAL)
  ebgp-multihop              Allow EBGP neighbors not on directly connected
                             networks
  enforce-multihop           Enforce EBGP neighbors perform multihop
                             (EXPERIMENTAL)
  local-as                   Specify a local-as number (EXPERIMENTAL)
  maximum-prefix             Maximum number of prefix accept from this peer
  next-hop-self              Disable the next hop calculation for this
                             neighbor
  no                         Negate a command or set its defaults
  override-capability        Override capability negotiation result
  passive                    Don't send open messages to this neighbor
  password                   Set a password
  peer-group                 Set peer-group for this neighbor (EXPERIMENTAL)
  port                       Neighbor's BGP port (EXPERIMENTAL)
  remote-as                  Specify a BGP neighbor
  remove-private-as          Remove private AS number from outbound updates
                             (EXPERIMENTAL)
  route-server-client        Configure a neighbor as Route Server client
                             (EXPERIMENTAL)
  send-community             Send Community attribute to this neighbor
  shutdown                   Administratively shut down this neighbor
  soft-reconfiguration       Per neighbor soft reconfiguration
  strict-capability-match    Strict capability negotiation match
                             (EXPERIMENTAL)
  timers                     BGP per neighbor timers
  unsuppress-map             Route-map to selectively unsuppress suppressed
                             routes
  update-source              Source of routing updates
  use                        Set setting to use
  weight                     Set default weight for routes from this neighbor
  clrscr                     Clears the display screen
  commit                     Commit all changes made in this session
  do                         Run commands from Exec mode
  end                        End current mode and change to EXEC mode
  exit                       End current mode and down to previous mode
  help                       Description of the interactive help system
  revert                     Revert changes
  service                    Service Commands
  show                       Show running system information
  write                      Write running configuration to memory or terminal
<DEVICE>(config-profile <PROFILE-NAME>-router--bgp-neighbor-<IP>)#
| BGP-Neighbor Config Mode Commands 
 |