encapsulation vlan pass(VSI-LDP-PW view)

Function

The encapsulation vlan pass command enables the BD VPLS tagged mode.

The undo encapsulation vlan pass command disables the BD VPLS tagged mode.

By default, the BD VPLS encapsulation mode is raw.

Format

encapsulation vlan pass

undo encapsulation vlan pass

Parameters

None

Views

VSI-LDP-PW view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

In an Ethernet virtual connection (EVC) scenario, when a bridge domain (BD) accesses a VPLS service in VSI exclusive service mode, the pseudo wire (PW) works in raw mode (the VSI encapsulation type is VLAN). Packets are directly forwarded without having the outer tag removed when they leave a PW. After the encapsulation vlan pass command is run, the raw mode is switched to the tagged mode so that the outer VLAN tag can be removed from the packets before the packets are forwarded out of a PW.

Example

# The BD VPLS tagged mode is enabled.
<HUAWEI> system-view
[~HUAWEI] vsi vsi1 bd-mode
[*HUAWEI-vsi-vsi1] pwsignal ldp
[*HUAWEI-vsi-vsi1-ldp] vsi-id 110
[*HUAWEI-vsi-vsi1-ldp] peer 2.2.2.2
[*HUAWEI-vsi-vsi1-ldp] peer 2.2.2.2 pw pw1
[*HUAWEI-vsi-vsi1-ldp-pw-pw1] encapsulation vlan pass
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >