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.
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. |
- |
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:
<HUAWEI> system-view [~HUAWEI] mpls lsr-id 1.1.1.1 [*HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI] vsi company1 bd-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
<HUAWEI> system-view [~HUAWEI] mpls lsr-id 1.1.1.1 [*HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI] vsi company1
<HUAWEI> system-view [~HUAWEI] mpls lsr-id 2.2.2.2 [*HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI] vsi company2 auto
<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