reflector cluster-id (BGP view)

Function

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.

Format

reflector cluster-id { cluster-id-value | cluster-id-ipv4 }

undo reflector cluster-id

Parameters

Parameter Description Value
cluster-id-value

Specifies a cluster ID of an RR in the format of a decimal value.

The value is an integer ranging from 1 to 4294967295.

cluster-id-ipv4

Specifies a cluster ID of an RR in the format of an IPv4 address.

The value is in dotted decimal notation.

Views

BGP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

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.

Example

# Configure the cluster ID to 50 for the device, which is an RR in a cluster.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] reflector cluster-id 50
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >