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.
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
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