Peer Groups
Neighbors having the same attributes and parameters can be grouped together by means
of the
neighbor peer-group command. You must first create a peer-group, after which you can associate neighbor
IP addresses with the peer-group. All of the attributes that are allowed on a neighbor
are also allowed on a peer-group.
The benefits of peer groups are:
- Simplified neighbor configuration: You can configure a set of neighbor parameters and then apply them to multiple neighbors. You do not need to configure the common parameters individually on each neighbor.
- Flash memory conservation: Using peer groups instead of individually configuring all the parameters for each neighbor requires fewer configuration commands in the startup configuration file.
You can perform the following tasks on a peer-group basis:
- Reset neighbor sessions
- Perform soft-outbound resets (the device updates outgoing route information to neighbors but does not entirely reset the sessions with those neighbors)
- Clear BGP4 message statistics
- Clear error buffers
An attribute value configured explicitly for a neighbor takes precedence over the attribute value configured for a peer-group. If neither the peer-group nor the individual neighbor has the attribute configured, the default value for the attribute is used.
For the parameters of a peer group to take effect, the peer group must be activated in the IPv4 or IPv6 address-family. By default, only IPv4 unicast address family is activated for a peer-group. A user needs to explicitly activate a peer-group in the IPv6 unicast address-family configuration mode when used with IPv6 peers.