neighbor remote-as
Specifies the autonomous system (AS) in which a remote neighbor resides.
Syntax
neighbor
{
ip-address
|
ipv6-address
|
peer-group-name
}
remote-as
num
no neighbor
{
ip-address
|
ipv6-address
|
peer-group-name
}
remote-as
Command Default
No AS is specified.
Parameters
Modes
BGP configuration mode
BGP address-family IPv4 unicast VRF configuration mode
BGP address-family IPv6 unicast VRF configuration mode
Usage Guidelines
The
no form of the command removes the neighbor from the AS.
Examples
The following example specifies AS 100 for a neighbor.
device# configure terminal device(config)# router bgp device(config-bgp-router)# neighbor 10.11.12.13 remote-as 100
History
| Release version | Command history |
|---|---|
| 08.0.30 | Support was added for the BGP address-family IPv6 unicast VRF configuration mode. |