Adding an entry to the BGP neighbor table in router configuration mode

Syntax:


neighbor ipv4-addr remote-as as-#

no neighbor ipv4-addr

Adds an entry to the BGP neighbor table in router configuration mode. To remove an entry from the table, use the no form of this command.

Specifying a neighbor with an autonomous system number that matches the autonomous system number specified in the router bgp global configuration command identifies the neighbor as internal to the local autonomous system. Otherwise, the neighbor is considered external.