BGP Peer Groups Overview and Configuration Example

What is BGP Peer-group

You can group BGP neighbors who share the same outbound policies together in what is called a BGP peer group.

Instead of configuring each neighbor with the same policy individually, a peer group allows you to group the policies which can be applied to individual peers thus making efficient update calculations along with simplified configuration.

Requirements of Peer Groups

Peer groups have these requirements:

  • All members of a peer group must share identical outbound announcement policies (such as distribute-list, filter-list, and route-map), except for default-originate, which is handled on a per-peer basis even for peer group members.
  • You can customize the inbound update policy for any member of a peer group.
  • A peer group must be either internal (with internal BGP (iBGP) members) or external (with external BGP (eBGP) members). Members of an external peer group have different autonomous system (AS) numbers.


BGP Peer Groups Configuration Example

#Define the peer group:
neighbor LD-BGP-Group peer-group

# Associate peers to the the peer group:
neighbor 172.16.10.2 peer-group LD-BGP-Group
neighbor 172.16.20.2 peer-group LD-BGP-Group
neighbor 172.16.30.2 peer-group LD-BGP-Group

# Apply the peer group:
neighbor LD-BGP-Group remote-as 65010
neighbor LD-BGP-Group next-hop-selfCode language: CSS (css)

Reference: Cisco

Bilel Ameur

Enthusiastic Network Engineer specializing in Cisco ACI, passionate about solving challenges. A lifelong learner who loves gaining and sharing knowledge. Profile: https://www.linkedin.com/in/bilel-ameur-71116b2b5
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x