qinq transparent-vlan

Use qinq transparent-vlan to enable transparent transmission for a list of VLANs on a port.

Use undo qinq transparent-vlan to disable transparent transmission for a list of VLANs on a port.

Syntax

qinq transparent-vlan vlan-id-list

undo qinq transparent-vlan { vlan-id-list | all }

Default

Transparent transmission is disabled for all VLANs.

Views

Layer 2 Ethernet interface view

Layer 2 aggregate interface view

Predefined user roles

network-admin

Parameters

vlan-id-list: Specifies a space-separated list of up to 10 VLAN items. Each item specifies a single VLAN ID or a VLAN ID range in the form of vlan-id1 to vlan-id2. The value range for VLAN IDs is 1 to 4094. The end VLAN ID must be equal to or greater than the start VLAN ID.

all: Specifies all VLANs.

Usage guidelines

By default, QinQ tags all incoming frames with the PVID on a port. This command disables QinQ to tag incoming traffic from a list of VLANs. These VLANs are called transparent VLANs.

You can repeat this command to add VLANs to the list of transparent VLANs.

To ensure successful transmission for a transparent VLAN, follow these configuration guidelines:

Examples

# Configure HundredGigE 1/0/1 as a trunk port, and assign the port to VLAN 2, VLAN 3, and VLANs 50 through 100. Enable QinQ on HundredGigE 1/0/1, and configure the port to transparently transmit frames from VLAN 2.

<Sysname> system-view
[Sysname] interface hundredgige 1/0/1
[Sysname-HundredGigE1/0/1] port link-type trunk
[Sysname-HundredGigE1/0/1] port trunk permit vlan 2 3 50 to 100
[Sysname-HundredGigE1/0/1] qinq enable
[Sysname-HundredGigE1/0/1] qinq transparent-vlan 2