C613-50631-01 Rev A Command Reference for IE340 Series 1470
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
BGP AND BGP4+ COMMANDS
NEIGHBOR
PEER-GROUP (ADD A NEIGHBOR)
neighbor peer-group (add a neighbor)
Overview Use this command to add a BGP or a BGP4+ neighbor to an existing peer-group.
Use the no variant of this command to disable this function.
Syntax [BGP]
neighbor <ip-address> peer-group <peer-group>
no neighbor <ip-address> peer-group <peer-group>
Syntax [BGP4+] neighbor <ipv6-addr> peer-group <peer-group>
no neighbor <ipv6-addr> peer-group <peer-group>
Mode [BGP] Router Configuration or IPv4 Address Family Configuration
Mode [BGP4+] IPv6 Address Family Configuration
Usage Use this command to add neighbors with the same update policies to a peer
group. This facilitates the updates of various policies, such as, distribute and filter
lists. The peer-group is then configured easily with many of the neighbor
commands. Any changes made to the peer group affect all members.
To create a peer-group use the neighbor port command and then use this
command to add neighbors to the group.
Examples [BGP] This example shows a new peer-group group1 and the addition of a neighbor
10.10.0.63 to the group.
awplus# configure terminal
awplus(config)# router bgp 10
awplus(config-router)# neighbor group1 peer-group
awplus(config-router)# neighbor 10.10.0.63 peer-group group1
Parameter Description
<ip-address> Specify the IPv4 address of the BGP neighbor, entered in the format
A.B.C.D.
<ipv6-addr> Specify the IPv6 address of the BGP4+ neighbor, entered in
hexadecimal in the format X:X::X:X.
<peer-group> Enter the name of the peer-group. When this parameter is used with
this command, the command applies on all peers in the specified
group.