Configuring transparent transmission for VLANs

You can exclude traffic of a VLAN (for example, the management VLAN) from the QinQ tagging action on a customer-side port. This VLAN is called a transparent VLAN.

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

To enable transparent transmission for a list of VLANs:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter Layer 2 Ethernet interface view or Layer 2 aggregate interface view.

interface interface-type interface-number

N/A

3. Configure the port link type.

port link-type { hybrid | trunk }

By default, the link type of ports is access.

4. Configure the port to allow packets from its PVID and the transparent VLANs to pass through.

  • For hybrid ports:port hybrid vlan vlan-id-list { tagged | untagged }

  • For trunk ports:port trunk permit vlan { vlan-id-list | all }

By default, trunk ports allow only packets from VLAN 1 to pass through. Hybrid ports allow only packets from VLAN 1 to pass through untagged.

5. Enable QinQ on the port.

qinq enable

By default, QinQ is disabled.

6. Specify transparent VLANs.

qinq transparent-vlan vlan-list

By default, transparent transmission is not configured for any VLANs on a port.