...
The set protocols bgp neighbor peerbgp peer-group command creates a peer group.
The delete protocols bgp neighbor peerbgp peer-group command deletes a peer group.
...
set protocols bgp [vrf <vrf-name>] neighbor peer-group <peer-group-name> peer-groupgroup>
delete protocols bgp [vrf <vrf-name>] neighbor peer-group <peer-group-name> peer-groupgroup>
Parameter
Parameter | Description |
vrf <vrf-name> | Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>]. |
neighbor peer-group <peer-group-name>group> | Specifies a name of peer group. |
...
Instead of specifying properties of each individual peer, you can define one or more peer groups and associate all the attributes common to that peer session to a peer group. A peer needs to be attached to a peer group only once, when it then inherits all address families activated for that peer group.
Note:
If the peer you want to add to a group already exists in the BGP configuration, delete it first, than add it to the peer group.
Example
• This example creates a peer group.
Code Block |
---|
admin@XorPlus# set protocols bgp neighbor leaf1 peer-group leaf1 admin@XorPlus# commit |