OcNOS-SP : Layer 3 Guide : Border Gateway Protocol Command Reference : BGP Commands : bgp cluster-id
bgp cluster-id
Use this command to configure the cluster ID if the BGP cluster has more than one route reflector. A cluster includes route reflectors and its clients. Usually, each cluster is identified by the router ID of its single route reflector but to increase redundancy sometimes a cluster may have more than one route reflector. All router reflectors in such a cluster are then identified by a cluster ID. The bgp cluster-id command is used to configure the 4 byte cluster ID for clusters with more than one route reflectors.
Use the no parameter with this command (without any arguments) to remove a previously configured route reflector cluster ID.
Command Syntax
bgp cluster-id <1-4294967295>
bgp cluster-id A.B.C.D
no bgp cluster-id
Parameters
<1-4294967295>
Route reflector ID as a 32-bit quantity
A.B.C.D
Route reflector ID in an IPv4 address format
Default
By default, cluster id is set bgp cluster id
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
The following configuration creates a cluster-id 5 including two route-reflector-clients.
#configure terminal
(config)#router bgp 100
(config-router)#neighbor 2.2.2.2 remote-as 200
(config-router)#neighbor 3.3.3.3 remote-as 200
(config-router)#neighbor 5.5.5.5 remote-as 200
(config-router)#neighbor 6.6.6.6 remote-as 200
(config-router)#bgp cluster-id 5
(config-router)#address-family ipv4 unicast
(config-router-af)#neighbor 3.3.3.3 route-reflector-client
(config-router-af)#neighbor 5.5.5.5 route-reflector-client
Last modified date: 08/28/2023