Administrator Guide

After you create a peer group, you can congure route policies for it. For information about conguring route policies for a peer group, refer
to Filtering BGP Routes. See Example-Conguring BGP peer groups for conguring multiple BGP neighbors and enabling peer groups.
Conguring Peer Groups
To congure multiple BGP neighbors at one time, create and populate a BGP peer group.
An advantage of peer groups is that members of a peer group inherit the conguration properties of the group and share same update
policy.
A maximum of 256 peer groups are allowed on the system.
The following tasks are involved in conguring a BGP peer group.
Create a peer group by assigning it a name
Adding members (neighbors) to the peer group
After you create a peer group, you can congure route policies for it. For information about conguring route policies for a peer group, refer
to Filtering BGP Routes. See Example-Conguring BGP peer groups for conguring multiple BGP neighbors and enabling peer groups.
You can use neighbor shutdown command to disable a BGP neighbor or a peer group.
1 Enter the router conguration mode and the AS number.
CONFIG mode
router bgp as-number
2 Create a peer group by assigning a name to it.
CONFIG-ROUTER-BGP mode
neighbor peer-group-name peer-group
3 Enable the peer group.
CONFIG-ROUTER-BGP mode
neighbor peer-group-name no shutdown
By default, all peer groups are disabled.
4 Create a BGP neighbor.
CONFIG-ROUTER-BGP mode
neighbor {ip-address | ipv6-address} remote-as as-number
5 Enable the neighbor.
CONFIG-ROUTER-BGP mode
neighbor {ip-address | ipv6-address} no shutdown
6 Add an enabled neighbor to the peer group.
CONFIG-ROUTER-BGP mode
neighbor {ip-address | ipv6-address | peer-group-name} peer-group peer-group-name
7 Add a neighbor as a remote AS.
CONFIG-ROUTER-BGP mode
neighbor {ip-address | ipv6-address | peer-group-name} remote-as as-number
Formats: IP Address A.B.C.D
peer-group Name: 16 characters.
196
Border Gateway Protocol (BGP)