< Home

vpls-id

Function

The vpls-id command specifies the ID of a VPLS domain to which a VSI belongs.

By default, no VPLS VSI ID is specified.

Format

vpls-id vpls-id

Parameters

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:
  • 16-bit AS number: a 32-bit user-defined number, for example, 1:3. The AS number ranges from 0 to 65535. The user-defined number ranges from 0 to 4294967295. The AS number and the user-defined number cannot both be 0. That is, a VPN target cannot be 0:0.

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

  • 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 VPN target 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 VPN target cannot be 0.0:0.

Views

VSI-BGPAD view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# 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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >