Specifies the autonomous system (AS) in which a remote neighbor resides.
No AS is specified.
BGP configuration mode
BGP address-family IPv4 unicast VRF configuration mode
BGP address-family IPv6 unicast VRF configuration mode
The no form of the command removes the neighbor from the AS.
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 100The following BGP4+ example, for VRF instance "red," specifies AS 100 for a neighbor.
device# configure terminal device(config)# router bgp device(config-bgp-router)# address-family ipv6 unicast vrf red device(config-bgp-ipv6u-vrf)# neighbor 2001:2018:8192::125 remote-as 100