The set protocols bgp cluster-id command specifies the cluster ID when the BGP router is used as a route-reflector. The cluster ID default is the router ID. Any changes in BGP configuration are applied by restarting the current BGP sessions on the VRFs.
The delete protocols bgp cluster-idcommand sets the cluster ID to the default value, which is the router ID.
Command Syntax
set protocol bgp [vrf <vrf-name>] cluster-id {<IPV4-ADDR> | <ID>}
delete protocol bgp [vrf <vrf-name>] cluster-id {<IPV4-ADDR> | <ID>}
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>]. |
<IPV4-ADDR> | Specifies an IP address in IPv4 format (x.x.x.x), where x is a decimal number from 0 to 255. You can remove leading zeros. For example, the address 192.169.005.100 becomes 192.168.5.100. |
<ID> | Specifies the cluster ID as 32-bit number. Range: 1 to 4294967295. |
Example
• This example specifies the cluster ID when the BGP router is used as a route-reflector.
admin@XorPlus# set protocols bgp cluster-id 2.2.2.2 admin@XorPlus# commit