reflector cluster-id (BGP-IPv6-flow address family 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 the cluster ID of an RR.

The value can be an integer ranging from 1 to 4294967295 or in the format of an IPv4 address.

cluster-id-ipv4

Specifies the IPv4 address of an RR.

It is in dotted decimal notation.

Views

BGP-IPv6-flow address family 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.

Configuration Impact

If the reflector cluster-id command is run several times, the latest configuration overrides the previous one.

Precautions

To ensure that a client can learn the routes reflected by an RR, the Cluster ID configured on the RR must be different from the Cluster ID of the client (By default, the client uses its Router ID as the cluster ID). If the Cluster ID is the same as the Cluster ID of the client, the client discards received routes.

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] ipv6-family flow
[*HUAWEI-bgp-af-ipv6-flow] reflector cluster-id 50
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >