< Home

qinq vlan-translation enable

Function

The qinq vlan-translation enable command enables VLAN translation on an interface.

The undo qinq vlan-translation enable command disables VLAN translation on an interface.

By default, VLAN translation is disabled on an interface.

Format

qinq vlan-translation enable

undo qinq vlan-translation enable

Parameters

None

Views

Ethernet interface view, GE interface view, XGE interface view, 40GE interface view, 100GE interface view, MultiGE interface view, Eth-Trunk interface view, port group view, 25GE interface view

Default Level

2: Configuration level

Usage Guidelines

You can configure VLAN mapping and selective QinQ on an interface only after VLAN translation is enabled on it.

Example

# Enable VLAN translation on GigabitEthernet0/0/1.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] port link-type hybrid
[HUAWEI-GigabitEthernet0/0/1] qinq vlan-translation enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >