Create a BGP4+ Peer Group

A BGP4+ peer group is a collection of IPv6 neighbors that have the same attributes and parameters

Procedure

  1. Access global configuration mode.
    device# configure terminal
  2. Access BGP configuration mode.
    device(config)# router bgp
  3. Create a peer group.
    device(config-bgp-router)# neighbor mypeergroup1 peer-group 
    This example shows the neighbor command, the peer group name (mypeergroup1), and the peer-group keyword.
  4. Specify the autonomous system number (ASN) of the peer group.
    device(config-bgp-router)# neighbor mypeergroup1 remote-as 11
    This example associates ASN 11 to the new peer group.
  5. Associate a neighbor with the peer group.
    device(config-bgp-router)# neighbor 2001:2018:8192::125 peer-group mypeergroup1
    This example shows the neighbor command, the IPv6 address of the neighbor, the peer-group keyword, and the name of the peer group (mypeergroup1).
  6. Repeat step 5 as needed to associate more neighbors with the peer group.
  7. Access IPv6 address family configuration mode.
    device(config-bgp-router)# address-family ipv6 unicast
  8. Activate an IPv6 BGP session with the new peer group.
    device(config-bgp-ipv6u)# neighbor mypeergroup1 activate

Example

The following example summarizes the commands in this procedure

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# neighbor mypeergroup1 peer-group
device(config-bgp-router)# neighbor mypeergroup1 remote-as 11
device(config-bgp-router)# neighbor 2001:2018:8192::125 peer-group mypeergroup1
device(config-bgp-router)# address-family ipv6 unicast
device(config-bgp-ipv6u)# neighbor mypeergroup1 activate