The route-distinguisher command configures an RD for a VSI.
The undo route-distinguisher command deletes the RD of a VSI.
By default, no RD is configured for a VSI.
Parameter | Description | Value |
---|---|---|
rdValue |
Specifies an RD for a VSI. |
The available RD formats are as follows:
|
Usage Scenario
On a BGP VPLS network, you must configure an RD for a VSI after creating the VSI.
Prerequisites
The VSI-BGP view has been displayed using the pwsignal bgp command.
Configuration Impact
An RD can be modified after it is configured for a VSI.
Precautions
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] vsi company2 auto [*HUAWEI-vsi-company2] pwsignal bgp [*HUAWEI-vsi-company2-bgp] route-distinguisher 2.2.2.2:1
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] vsi company3 auto [*HUAWEI-vsi-company3] pwsignal bgp [*HUAWEI-vsi-company3-bgp] route-distinguisher 22.22:22
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] vsi company1 auto [*HUAWEI-vsi-company1] pwsignal bgp [*HUAWEI-vsi-company1-bgp] route-distinguisher 101:3