The l2 binding command binds a VSI to a BD.
The undo l2 binding command unbinds a VSI from a BD.
By default, a BD is not bound to any VSI.
Parameter | Description | Value |
---|---|---|
pw-tag pw-tag-value |
Specifies the PW tag used when binding a VSI to a BD. |
The value is an integer ranging from 1 to 4094. |
vsi vsi-name |
Specifies the name of the VSI to be bound to a BD. |
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. |
Usage Scenario
In VPLS scenarios in which a CE connects to a PE through a Layer 2 sub-interface that belongs to a BD, run the l2 binding (BD view) command to bind the BD to the VSI and specify a PW tag.
In Ethernet virtual connection (EVC) applications, a bridge domain (BD) can access a VPLS network in either of the following modes:<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] vsi v1 bd-mode [*HUAWEI-vsi-v1] pwsignal ldp [*HUAWEI-vsi-v1-ldp] vsi-id 111 [*HUAWEI-vsi-v1-ldp] quit [*HUAWEI-vsi-v1] quit [*HUAWEI] bridge-domain 1 [*HUAWEI-bd1] l2 binding vsi v1 pw-tag 123