3Com Switch 7750 Configuration Guide Guide

19
SELECTIVE QINQ CONFIGURATION
Selective QinQ
Overview
Selective QinQ
Implementation
On the Switch 7750, selective QinQ can be implemented in the following ways.
1 Enabling QinQ on ports
In this type of implementations, QinQ is enabled on ports and a received packet is
tagged with the default VLAN tag of the receiving port no matter whether or not
the packet already carries a VLAN tag. If the packet already carries a VLAN tag, the
packet becomes a dual-tagged packet. Otherwise, the packet becomes a packet
carrying the default VLAN tag of the port.
2 Configuring VLAN mapping
In this type of implementations, packets transmitted through the same port are
tagged with outer VLAN tags according to the VLAN ID they carry. This is achieved
by using the corresponding commands.
n
For Switch 7750 Family Ethernet switches, the selective QinQ feature can also be
achieved through using ACL and QoS together. Refer to QoS in this manual for
related configurations.
Selective QinQ
Configuration
Selective QinQ configuration enables packets to be tagged according to the VLAN
ID they carry.
Configuration
Prerequisites
QinQ is enabled on ports.
The VLANs whose packets are permitted on specific ports are configured.
Configuring Selective
QinQ
Table 91 Configure selective QinQ
Operation Command Description
Enter system view system-view -
Enter Ethernet port view
interface interface-type
interface-number
-
Enable QinQ for the port vlan-vpn enable
Required
By default, QinQ is disabled.