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
This example shows the neighbor command, the IPv6 address of the neighbor, the peer-group keyword, and the name of the peer group (mypeergroup1).
device(config-bgp-router)# address-family ipv6 unicast
device(config-bgp-ipv6u)# neighbor mypeergroup1 activate
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