< Home

vsi

Function

The vsi command creates a VSI or displays the VSI view.

The undo vsi command deletes a VSI.

By default, no VSI is created.

Format

vsi vsi-name [ auto | static ]

undo vsi vsi-name

Parameters

Parameter Description Value
vsi-name Specifies the name of a VSI. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. Names of the VSIs on one device cannot be identical.
auto Indicates that the automatic member discovery mode is used in the VSI. -
static Indicates that the static member discovery mode is used in the VSI. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To configure VPLS, you need to create VSIs first. Each device in a VPLS domain needs to be configured with a VSI that belongs to the domain.

On a Martini or Kompella VPLS network, the VPLS member discovery mode for a created VSI can be set to static or auto. You can set the signaling mode using the pwsignal { bgp | ldp } command after a VSI is created. Use the LDP signaling mode if the static member discovery mode is used. Use the BGP signaling mode if the automatic member discovery mode is used. The member discovery mode cannot be modified. To modify the member discovery mode of the VSI, you need to delete the VSI. Then, re-create a VSI and specify the member discovery mode.

When creating a BGP AD VSI, do not specify a member discovery mode of the VSI. A VSI without a specified member discovery mode can be configured to use the LDP, BGP, or BGP AD signaling mode.

If you have specified a member discovery mode for a VSI, specify the same member discovery mode in the vsi command when you want to re-enter the VSI view. If the member discovery mode in the vsi command is different from the member discovery mode specified for the VSI, you cannot enter the VSI view.

Prerequisites

The MPLS L2VPN function has been enabled on the device.

Precautions

Note the following points when configuring VSIs in a VPLS domain:

  • VSIs on different PEs can have different names.
  • A VSI on a PE must be configured with a unique VSI ID or VPLS ID.
  • Multiple peers can be specified for a VSI on a PE.

If the specified VSI exists, you can use the vsi command to enter the VSI view.

After VPLS configurations are complete, VPLS packets are forwarded based on VSIs. Exercise caution when using the undo vsi command because VPLS traffic will be interrupted.

Example

# Create a Martini VPLS VSI named company1.

<HUAWEI> system-view
[HUAWEI] mpls lsr-id 10.1.1.1 
[HUAWEI] mpls
[HUAWEI-mpls] quit
[HUAWEI] mpls l2vpn
[HUAWEI-l2vpn] quit
[HUAWEI] vsi company1 static
[HUAWEI-vsi-company1] pwsignal ldp

# Create a Kompella VPLS VSI named company2.

<HUAWEI> system-view
[HUAWEI] mpls lsr-id 10.1.1.1 
[HUAWEI] mpls
[HUAWEI-mpls] quit
[HUAWEI] mpls l2vpn
[HUAWEI-l2vpn] quit
[HUAWEI] vsi company2 auto
[HUAWEI-vsi-company2] pwsignal bgp

# Create a BGP AD VPLS VSI named company3.

<HUAWEI> system-view
[HUAWEI] mpls lsr-id 10.1.1.1 
[HUAWEI] mpls
[HUAWEI-mpls] quit
[HUAWEI] mpls l2vpn
[HUAWEI-l2vpn] quit
[HUAWEI] vsi company3

# Create a Martini VPLS VSI named company4, and do not specify the VSI member discovery mode.

<HUAWEI> system-view
[HUAWEI] mpls lsr-id 10.1.1.1 
[HUAWEI] mpls
[HUAWEI-mpls] quit
[HUAWEI] mpls l2vpn
[HUAWEI-l2vpn] quit
[HUAWEI] vsi company4
[HUAWEI-vsi-company4] pwsignal ldp

# Create a Martini Kompella VPLS VSI named company5, and do not specify the VSI member discovery mode.

<HUAWEI> system-view
[HUAWEI] mpls lsr-id 10.1.1.1 
[HUAWEI] mpls
[HUAWEI-mpls] quit
[HUAWEI] mpls l2vpn
[HUAWEI-l2vpn] quit
[HUAWEI] vsi company5
[HUAWEI-vsi-company5] pwsignal bgp
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >