neighbor peer-group
When used from Router Configuration mode without specifying an IP address, creates a BGP peer group. The no version removes a peer group.
When used from Router Configuration mode with an IP address or from Address Family Configuration mode, configures a BGP neighbor to be a member of a peer group. The no version removes a neighbor from a peer group.
Creating a peer group:
neighbor peerGroupName peer-group
no neighbor peerGroupName [ peer-group ]
Assigning members to a peer group:
neighbor ipAddress peer-group peerGroupName
no neighbor ipAddress peer-group [ peerGroupName ]
- ipAddress—IP address of the BGP neighbor that belongs to the peer group specified by the name
- peerGroupName—Name of the BGP peer group to which this neighbor belongs
Address Family Configuration, Router Configuration