59 neighbor peer-group (adding a neighbor), 60 neighbor peer-group (creating a peer-group) – CANOGA PERKINS CanogaOS Command Reference User Manual
Page 317
![background image](/manuals/651410/317/background.png)
CanogaOS Command Line Reference
Revision 1.02
Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches
Page 317 of 855
Switch# configure terminal
Switch(config)# router bgp 12
Switch(config-router)# neighbor 10.10.10.10 passive
16.59 neighbor peer-group (adding a neighbor)
Use this command to add a neighbor to an existing peer-group.
Use the no parameter with this command to disable this function.
Command Syntax
(no)neighbor IPADDRESS peer-group TAG
IPADDRESS=A.B.C.D|X:X::X:X Specifies the address of the BGP neighbor in IPv4 or IPv6 format.
TAG Name of the peer-group
Command Mode
Router mode
Usage
Use this command to Neighbors with the same update policies are grouped into peer groups. This facilitates
the updates of various policies, such as, distribute and filter lists. The peer-group is then configured easily
with any of the neighbor commands. Any changes made to the peer group affect all members.
To create a peer-group use the neighbor peer-group create command and then use this command to add
neighbors to the group.
Example
This example shows a new peer-group group1 and the adding of a neighbor 10.10.0.63 to the group.
Switch# configure terminal
Switch(config)# router bgp 10
Switch(config-router)# neighbor group1 peer-group
Switch(config-router)# neighbor 10.10.0.63 peer-group group1
16.60 neighbor peer-group (creating a peer-group)
Use this command to create a peer-group.
Use the no parameter with this command to disable this function
Command Syntax
(no)neighbor TAG peer-group
TAG Name of the peer-group