Configuring Global Tag Mapping Rules for Selective QinQ
Table 2-1 Configure global tag mapping rules for selective QinQ
Operation
Enter system view
Configure the outer VLAN tag
and enter QinQ view
Configure to add outer VLAN
tags to the packets with the
specific inner VLAN tags
Do not enable both the selective QinQ function and the DHCP snooping function on a switch. Otherwise,
the DHCP snooping function may operate improperly.
Enabling the Selective QinQ Feature for a Port
Table 2-2 Enable the selective QinQ feature
Operation
Enter system view
Enter Ethernet port view
Enable the selective QinQ
feature
Selective QinQ Configuration Example
Processing Private Network Packets by Their Types
Network requirements
Ethernet 1/0/3 of Switch A provides public network access for PC users and IP phone users. PC
users belong to VLAN 100 through VLAN 108, and IP phone users belong to VLAN 200 through
VLAN 230. Ethernet 1/0/5 of Switch A is connected to the public network. The peer end of Switch A
is Switch B.
Ethernet 1/0/11 of Switch B is connected to the public network. Ethernet 1/0/12 and Ethernet1/0/13
of Switch B provide network access for PC servers belonging to VLAN 100 through VLAN 108 and
voice gateways (for IP phone users) belonging to VLAN 200 through VLAN 230 respectively.
Command
system-view
vlan-vpn vid vlan-id
raw-vlan-id inbound
vlan-id-list
Command
system-view
interface interface-type
interface-number
vlan-vpn selective enable
2-3
Description
—
Required
Required
By default, the feature of
adding an outer VLAN tag to
the packets with the specific
inner VLAN tags is disabled.
Description
—
—
Required
By default, the selective QinQ
feature is not enabled on a port.