Before configuring BGP peer groups, familiarize yourself with the usage scenario, complete the pre-configuration tasks, and obtain the data required for the configuration.
A BGP peer group consists of BGP peers that have the same update policies and configurations.
A large-scale BGP network has a large number of peers. Configuring and maintaining these peers is difficult. To address this problem, configure a BGP peer group for BGP peers with the same configurations. Configuring BGP peer groups simplifies peer management and improves the route advertisement efficiency.
Based on the ASs where peers reside, peer groups are classified as follows:
If a function is configured on a peer and its peer group, the function configured on the peer takes precedence over that configured on the peer group. After a peer group is created, peers can be added to the peer group. If these peers are not configured separately, they will inherit the configurations of the peer group. If a peer in a peer group has a specific configuration requirement, the peer can be configured separately. The configuration of this peer will override the configuration inherited by the peer from the peer group.