bgp cluster id

Syntax

bgp cluster-id {<IPV4-ADDR> | <ID>}

no bgp cluster-id {<IPV4-ADDR> | <ID>}

Description

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 no form of this command sets the cluster ID to the default value, which is the router ID.

Command context

config-bgp

Parameters

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

Authority

Administrators or local user group members with execution rights for this command.

Examples

switch(config-bgp)# bgp cluster-id 2.2.2.2
All current BGP sessions in VRF default will be restarted.
Do you want to continue (y/n)?
switch(config-bgp)# no bgp cluster-id 2.2.2.2
All current BGP sessions in VRF default will be restarted.
Do you want to continue (y/n)?