The reflector cluster-id command sets a cluster ID for an RR.
The undo reflector cluster-id command deletes the cluster ID configured for an RR.
By default, each RR uses its Router ID as the cluster ID.
Usage Scenario
Sometimes, more than one RR needs to be configured in a cluster to improve network reliability and prevent single-point failures. If a cluster has more than one RR, the reflector cluster-id command needs to be used to set the same cluster ID for the RRs. This helps to identify the cluster and avoid routing loops.
Configuring an RR allows IBGP peers to advertise routes learned in the local AS to each other. The Cluster_List attribute is introduced to avoid loops within an AS. The Cluster_List is composed of a series of Cluster_IDs. It records all the RRs through which a route passes.Precautions
To ensure that the clients can learn the routes from the RR, the cluster ID configured on the RR cannot be the same as the cluster ID of the clients. By default, the clients use their own router IDs as the cluster IDs. If the cluster IDs are the same, the clients discard the received routes.
This command takes effect in the BGP-IPv4 unicast address family view.