BGP Peer Group Update Policies

A BGP peer group is a group of BGP neighbors that share the same update policies. Update policies are typically set by route maps, distribution lists, and filter lists.

When you define a peer group and add neighbors to it, all of the update policies that you assign to that peer group apply to all of the neighbors in that peer group. You do not need to define a policy for each neighbor.

Members of a peer group inherit all of the configuration settings of that peer group. You can configure certain members to override the update policies, but only if those policies are set for inbound traffic. You cannot configure members to override group policies if the policies apply to outbound traffic.

BGP Peer Group Update Policies Configuration

To configure an IPv6 BGP peer group and its update policies:

On R3:
router bgp 123
: no synchronization
: bgp router−id 3.3.3.3
neighbor interalmap peer-group
: neighbor interalmap remote-as 123
: neighbor 1111:111:111:A:C601:3FF:FEF0:0 peer-group interalmap
: neighbor 2222:222:222:A:C602:3FF:FEF0:0 peer-group interalmap
: neighbor AB01:CD1:123:E:C605:16FF:FE98:0 remote−as 202
: neighbor AB01:CD1:123:E:C605:16FF:FE98:0 ebgp−multihop 5
!
address−family ipv6
: neighbor interalmap activate
: neighbor interalmap route-map 1 out
: neighbor 1111:111:111:A:C601:3FF:FEF0:0 peer-group interalmap
: neighbor 2222:222:222:A:C602:3FF:FEF0:0 peer-group interalmap
exit−address−family
!
ipv6 prefix−list 10 seq 5 permit BC01:BC1:10:A::/64
!
route-map 1 permit 10
: match ipv6 address prefix-list 1 set tag 333
: set metric 273
: set local-preference 312

To verify that the correct local preference route is configured, use the show bgp ipv6 unicast command:

On R3:
R3> show bgp ipv6 unicast

Verify that IPv6 address BC01:BC1:10:A::/64 passes from AS100 to R1 and R2, and that the metric and local preference are set to the corresponding route-map settings.