C613-50100-01 REV C Command Reference for x930 Series 1318
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
BGP AND BGP4+ COMMANDS
NEIGHBOR
REMOTE-AS
neighbor remote-as
Overview Use this command to configure an internal or external BGP or BGP4+ (iBGP or
eBGP) peering relationship with another router.
Use the no variant of this command to remove a previously configured BGP or
BGP4+ peering relationship.
Syntax
neighbor <neighborid> remote-as <as-number>
no neighbor <neighborid> remote-as <as-number>
Syntax (VRF lite) neighbor <neighborid> remote-as <as-number> [global|vrf
<vrf-name>]
no neighbor <neighborid> remote-as <as-number>
Mode [BGP] Router Configuration or IPv4 Address Family Configuration
Mode [BGP4+] Router Configuration
Usage This command is used to configure iBGP and eBGP peering relationships with
other BGP or BGP4+ neighbors. A peer-group support of this command is
configured only after creating a specific peer-group. Use the no variant of this
command to remove a previously configured BGP peering relationship.
Parameter Description
<neighborid> {<ip-address>|ipv6-addr>|<peer-group>}
<ip-address> Specify the address of an IPv4 BGP neighbor,
in dotted decimal notation A.B.C.D.
<ipv6-addr> Specify the address of an IPv6 BGP4+
neighbor, entered in hexadecimal in the
format X:X::X:X.
<peer-group> Enter the name of an existing peer-group. For
information on how to create peer groups,
refer to the neighbor peer-group (add a
neighbor) command, and neighbor
route-map command. When this parameter is
used with this command, the command
applies on all peers in the specified group.
<as-number> <1-4294967295> Neighbor’s Autonomous System (AS) number.
global
Specify that the remote neighbor exists locally within the device,
in the global routing domain
vrf
Specify that the remote neighbor exists locally within the device,
in the specified VRF instance.
<vrf-name> The name of the VRF instance.