vsi (System view)

Function

The vsi bd-mode command creates a VSI in BD mode.

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

The undo vsi command deletes a VSI.

By default, no VSI is created.

By default, no VSI in BD mode is configured.

Format

vsi vsi-name [ static | auto ] [ bd-mode ]

vsi vsi-name [ static | auto ] { i-vsi { p2p | b-evpn-interworking } | b-vsi }

undo vsi vsi-name

undo vsi vsi-name [ static | auto ] { i-vsi { p2p | b-evpn-interworking } | b-vsi }

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. The VSI names on one device must be different.

The string can contain spaces if it is enclosed in double quotation marks (").

static

Uses static VPLS member discovery.

-

auto

Uses automatic VPLS member discovery.

-

i-vsi

Creates an I-VSI.

To create an I-VSI on a PBB VPLS network, configure the i-vsi keyword when running the vsi command. PBB VPLS-related configurations can be performed after an I-VSI is configured.

Only the NetEngine 8000 F1A supports this parameter.

-

p2p

Configures an I-VSI to work in P2P mode.

Only the NetEngine 8000 F1A supports this parameter.

-

b-evpn-interworking

Configures an I-VSI to work in B-EVPN interworking mode.

Only the NetEngine 8000 F1A supports this parameter.

-

b-vsi

Creates a B-VSI.

To create a B-VSI on a PBB VPLS network, configure the b-vsi keyword when running the vsi command. PBB VPLS-related configurations can be performed after a B-VSI is configured.

Only the NetEngine 8000 F1A supports this parameter.

-

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

When configuring VPLS, you must first configure a VSI. Each VPLS domain on a device must have a VSI configured. To configure a VSI in BD mode, run the vsi bd-mode command.

When you create a VSI for the first time, you can configure the VSI to work in BD mode. The BD mode cannot be changed after being configured. A VSI in BD mode applies to Ethernet virtual connection (EVC) scenarios and can be bound to BDs, but not to interfaces. A VSI that does not work in BD mode can be bound to interfaces, but not to BDs. If you do not configure a VSI to work in BD mode when you create the VSI, you cannot enter the VSI view in BD mode.

Prerequisites

MPLS L2VPN has been enabled on the device.

Follow-up Procedure

After creating a VSI, you need to specify the signaling mode and set the VSI ID and peer address to complete the VPLS configuration.

Precautions

On a VPLS network:

  • You can configure different names for the VSIs on different devices.
  • You must configure a unique VSI ID for each VSI on a device. The VSI and VSI ID has a one-to-one mapping relationship.
  • You can specify multiple peers for a VSI on a device.

    If a VSI has been bound to an AC interface, deleting the VSI causes all configurations in the VSI to be deleted and the binding relationship to be removed. Therefore, exercise caution when performing this operation.

Example

# Configure a VSI named company1 in BD mode.
<HUAWEI> system-view
[~HUAWEI] mpls lsr-id 1.1.1.1
[*HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI] vsi company1 bd-mode
# Create an I-VSI named evpn1 and configure the I-VSI to work in B-EVPN interworking mode.
<HUAWEI> system-view
[~HUAWEI] mpls lsr-id 3.3.3.3
[*HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi evpn1 i-vsi b-evpn-interworking
# Create a VSI named company1.
<HUAWEI> system-view
[~HUAWEI] mpls lsr-id 1.1.1.1
[*HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI] vsi company1
# Create a VSI named company2 and configure the VSI to use automatic VPLS member discovery.
<HUAWEI> system-view
[~HUAWEI] mpls lsr-id 2.2.2.2
[*HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI] vsi company2 auto
# Create an I-VSI named ivsi1 and a B-VSI named bvsi1.
<HUAWEI> system-view
[~HUAWEI] mpls lsr-id 3.3.3.3
[*HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi ivsi1 i-vsi p2p
[*HUAWEI-vsi-ivsi1] pwsignal ldp
[*HUAWEI-vsi-ivsi1-ldp] vsi-id 10
[*HUAWEI-vsi-ivsi1-ldp] quit
[*HUAWEI-vsi-ivsi1] quit
[*HUAWEI] vsi bvsi1 b-vsi
[*HUAWEI-vsi-bvsi1] pwsignal ldp
[*HUAWEI-vsi-bvsi1-ldp] vsi-id 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >