neighbor remote-as
Adds an entry to the BGP neighbor table. The no version removes an entry from the table. Specifying a neighbor with an AS number that matches the AS number specified in the router bgp Global Configuration command identifies the neighbor as internal to the local AS. Otherwise, the neighbor is considered external.
neighbor { ipAddress | peerGroupName } remote-as number
no neighbor { ipAddress | peerGroupName } [ remote-as [ number ] ]
- ipAddress—IP address
- peerGroupName—Name of a BGP peer group. If you specify a BGP peer group by using the peerGroupName argument, all the members of the peer group inherit the characteristic configured with this command, unless it is overridden for a specific peer.
- number—Number in the range 1-4294967295; the AS to which the neighbor belongs
Address Family Configuration, Router Configuration