C613-50631-01 Rev A Command Reference for IE340 Series 1479
AlliedWare Plus™ Operating System - Version 5.5.3-0.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>
Mode [BGP] Router Configuration or IPv4 Address Family Configuration
Mode [BGP4+] Router Configuration
Usage notes 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.
Examples [BGP] To configure a BGP peering relationship from the neighbor with the IPv4 address
10.10.0.73 with another router:
awplus# configure terminal
awplus(config)# router bgp 10
awplus(config-router)# neighbor 10.10.0.73 remote-as 10
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.