< Home

route-distinguisher (VSI-BGP view)

Function

The route-distinguisher command configures an RD for a VSI.

Format

route-distinguisher route-distinguisher

Parameters

Parameter

Description

Value

route-distinguisher

Specifies the value of an RD, which identifies a VSI on a PE.

The formats of an RD are as follows:
  • 16-bit AS number:32-bit user-defined number: for example, 101:3. An AS number ranges from 0 to 65535, and a user-defined number ranges from 0 to 4294967295. The AS number and user-defined number cannot be both 0. That is, a VPLS ID cannot be 0:0.
  • Integral 4-byte AS number:2-byte user-defined number, for example, 65537:3. An AS number ranges from 65536 to 4294967295. A user-defined number ranges from 0 to 65535. The AS number and user-defined number cannot be both 0s. That is, a VPLS ID cannot be 0:0.

  • 4-byte AS number in dotted notation:2-byte user-defined number, for example, 0.0:3 or 0.1:0. A 4-byte AS number in dotted notation is in the format of x.y, where x and y are integers that range from 1 to 65535 and from 0 to 65535, respectively. A user-defined number ranges from 0 to 65535. The AS number and user-defined number cannot be both 0s. That is, a VPLS ID cannot be 0.0:0.

  • 32-bit IP address:16-bit user-defined number: for example, 192.168.122.15:1. An IPv4 address ranges from 0.0.0.0 to 255.255.255.255, and a user-defined number ranges from 0 to 65535.

Views

VSI-BGP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After you create a VSI in the Kompella VPLS and use the BGP as the PW signaling protocol, run the route-distinguisher command to configure the RD. Other parameters can be configured only after the RD is configured.

Prerequisites

The following operations have been performed before this command is used:
  1. A VSI has been created using the vsi vsi-name [ auto ] command.
  2. BGP has been configured as the PW signaling protocol using the pwsignal bgp command.

Precautions

On the same PE, different VSIs have different RDs. The IDs of the same VSIs on different PEs can be either the same or different.

The RD does not have a default value. After an RD is configured successfully for the VSI, it cannot be modified. If you want to modify the RD, you need to delete the VSI and re-create a VSI.

Kompella VLL and Kompella VPLS must use different RDs.

Example

# Configure an RD in the format of "16-bit ASN:32-bit user-defined number" for the VSI named company1.

<HUAWEI> system-view
[HUAWEI] vsi company1 auto
[HUAWEI-vsi-company1] pwsignal bgp
[HUAWEI-vsi-company1-bgp] route-distinguisher 101:3

# Configure an RD in the format of "32-bit IP address:16-bit user-defined number" for the VSI named company2.

<HUAWEI> system-view
[HUAWEI] vsi company2 auto
[HUAWEI-vsi-company2] pwsignal bgp
[HUAWEI-vsi-company2-bgp] route-distinguisher 2.2.2.2:1

# Configure an RD in the format of "4-byte AS number in dotted notation:2-byte user-defined number" for the VSI named company2.

<HUAWEI> system-view
[HUAWEI] vsi company2 auto
[HUAWEI-vsi-company2] pwsignal bgp
[HUAWEI-vsi-company2-bgp] route-distinguisher 22.22:22
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >