The vpls-id command specifies the ID of a VPLS domain to which a VSI belongs.
By default, no VPLS VSI ID is specified.
Parameter |
Description |
Value |
---|---|---|
vpls-id |
Specifies the ID of a VPLS domain to which multiple VSIs on PEs belong. |
A VPLS ID is in one of the following formats:
|
Usage Scenario
VSIs in a BGP AD VPLS domain use BGP signaling to automatically discover members in the same VPLS domain. A VPLS domain is uniquely identified by a VPLS ID. When creating BGP AD VSIs on different PEs, specify the same VPLS ID for the VSIs so that they can join the same VPLS domain. Different BGP AD VSIs on the same PE cannot be added to the same VPLS domain.
Prerequisites
Automatic VPLS member discovery and automatic PW deployment have been configured for the current VSI using the bgp-ad command in the VSI view, and the VSI-BGPAD view has been displayed.
Precautions
An ID is specified for the BGP AD VSI. A VPLS domain is uniquely identified by a VPLS ID. Different VPLS IDs must be configured for different VSIs on the same PE. If the VPLS ID specified using the vpls-id command for a VSI on a PE has been used by another VSI on that PE, the vpls-id command does not take effect and an error message will be displayed. The VSIs that belong to the same VPLS domain and reside on different PEs must be configured with the same VPLS ID.
After a VPLS ID is configured for a VSI, it cannot be directly changed. To change the VPLS ID, you need to delete the VSI, re-create a VSI, and reconfigure the VPLS ID.
# Configure a VPLS ID in the format of 16-bit AS number:32-bit user-defined number for the VSI named company1.
<HUAWEI> system-view [HUAWEI] vsi company1 [HUAWEI-vsi-company1] bgp-ad [HUAWEI-vsi-company1-bgpad] vpls-id 101:3
# Configure a VPLS ID in the format of 32-bit IP address:16-bit user-defined number for the VSI named company2.
<HUAWEI> system-view [HUAWEI] vsi company2 [HUAWEI-vsi-company2] bgp-ad [HUAWEI-vsi-company2-bgpad] vpls-id 2.2.2.2:1
# Configure a VPLS ID in the format of 32-bit AS number:16-bit user-defined number for the VSI named company3.
<HUAWEI> system-view [HUAWEI] vsi company3 [HUAWEI-vsi-company3] bgp-ad [HUAWEI-vsi-company3-bgpad] vpls-id 16.20:30