Configuring the Switch

3-182

3
incoming frames containing that ethertype are assigned to the VLAN contained in
the tag following the ethertype field, as they would be with a standard 802.1Q trunk.
Frames arriving on the port containing any other ethertype are looked upon as
untagged frames, and assigned to the native VLAN of that port.
All ports on the switch will be set to the same ethertype.
Command Attributes
802.1Q Tunnel – Sets the switch to QinQ mode, and allows the QinQ tunnel port
to be configured. The default is for the switch to function in normal mode.
802.1Q Ethernet Type – The Tag Protocol Identifier (TPID) specifies the ethertype
of incoming packets on a tunnel port. (Range: hexadecimal 0800-FFFF;
Default: 8100)
Web – Click VLAN, 802.1Q VLAN, 802.1Q Tunnel Status. Check the Enabled box
set the TPID of the ports if the client is using a non-standard ethertype to identify
802.1Q tagged frames, and click Apply
Figure 3-103 .1Q Tunnel Status and Ethernet Type
CLI – This example sets the switch to operate in QinQ mode.

Adding an Interface to a QinQ Tunnel

Follow the guidelines in the preceding section to set up a QinQ tunnel on the switch.
Command Usage
Use the VLAN Port Configuration or VLAN Trunk Configuration screen to set the
access port on the edge switch to 802.1Q Tunnel mode.
Use the 802.1Q Tunnel Configuration screen to set the switch to QinQ mode before
configuring a tunnel port (see "Displaying Basic VLAN Information" on
page 3-168). Also set the Tag Protocol Identifier (TPID) value of the tunnel port if
Console(config)#dot1q-tunnel system-tunnel-control 4-230
Console(config-if)#switchport dot1q-tunnel tpid 9100 4-231
Console(config)#exit
Console#show dot1q-tunnel 4-232
Current double-tagged status of the system is Enabled
The dot1q-tunnel mode of the set interface 1/1 is Access mode, TPID is 0x8100.
The dot1q-tunnel mode of the set interface 1/2 is Uplink mode, TPID is 0x8100.
The dot1q-tunnel mode of the set interface 1/3 is Normal mode, TPID is 0x8100.
The dot1q-tunnel mode of the set interface 1/4 is Normal mode, TPID is 0x8100.
The dot1q-tunnel mode of the set interface 1/5 is Normal mode, TPID is 0x8100.
.
.
.