Configures a BGP neighbor to be a member of a peer group.
BGP configuration mode
BGP address-family IPv4 unicast VRF configuration mode
BGP address-family IPv6 unicast VRF configuration mode
The no form of the command removes a neighbor from the peer group.
When a peer group is created, a warning is displayed to activate peer group for IPv6 address family.
When an IPv6 neighbor is added to a peer group, and the peer group is not activated for IPv6 address-family, a warning will be displayed.
The following example assigns a specified neighbor to a peer group called mypeergroup1.
device# configure terminal device(config)# router bgp device(config-bgp-router)# neighbor 10.11.12.13 peer-group mypeergroup1 %Warning: Please activate Peer-group for IPv6 address-family
The following BGP4+ example, for VRF instance "red", assigns a specified neighbor to a peer group called mypeergroup1.
device# configure terminal device(config)# router bgp device(config-bgp-router)# address-family ipv6 unicast vrf red device(config-bgp-ipv4u)# neighbor 2001:2018:8192::125 peer-group mypeergroup1 %Warning: Please activate Peer-group for IPv6 address-family in default-vrf