August 2005
Intermediate to advanced
798 pages
31h 12m
English
neighbor remote-as — router, BGP
neighbor {address | peer-group} remote-as as-number
no neighbor {address | peer-group} remote-as as-numberThe remote AS number of a BGP neighbor
None
This command specifies a neighbor’s AS number. This number is used to determine whether the neighbor is an internal or external BGP router. If the neighbor’s AS number is the same as the AS number in the current BGP configuration, the neighbor is an internal BGP router; likewise, if the AS numbers are different, the neighbor is an external BGP router.
address or peer-group
The address or peer group of the neighbor.
as-number
The AS number of the neighbor router (or the routers in the peer group).
In this example, the neighbor (10.200.200.3) is an internal BGP router because its AS number is the same as the local AS number:
router bgp 100 neighbor 10.200.200.3 remote-as 100
In the following example, the neighbor (10.200.200.4) is an external BGP router:
router bgp 100 neighbor 10.200.200.4 remote-as 200