ECS4100 Series CLI Reference Guide-R07

Table Of Contents
Chapter 23
| VLAN Commands
Configuring IEEE 802.1Q Tunneling
– 568 –
Configuring IEEE 802.1Q Tunneling
IEEE 802.1Q tunneling (QinQ tunneling) uses a single Service Provider VLAN
(SPVLAN) for customers who have multiple VLANs. Customer VLAN IDs are
preserved and traffic from different customers is segregated within the service
providers network even when they use the same customer-specific VLAN IDs. QinQ
tunneling expands VLAN space by using a VLAN-in-VLAN hierarchy, preserving the
customers original tagged packets, and adding SPVLAN tags to each frame (also
called double tagging).
This section describes the commands used to configure QinQ tunneling.
General Configuration Guidelines for QinQ
1. Configure the switch to QinQ mode (dot1q-tunnel system-tunnel-control).
2. Create a SPVLAN (vlan).
3. Configure the QinQ tunnel access port to dot1Q-tunnel access mode
(switchport dot1q-tunnel mode).
4. Set the Tag Protocol Identifier (TPID) value of the tunnel access port. This step is
required if the attached client is using a nonstandard 2-byte ethertype to
identify 802.1Q tagged frames. The standard ethertype value is 0x8100. (See
Table 111: 802.1Q Tunneling Commands
Command Function Mode
dot1q-tunnel
system-tunnel-control
Configures the switch to operate in normal mode or QinQ
mode
GC
dot1q-tunnel tpid Configures the other tag ethertype for QinQ tunneling GC
switchport dot1q-tunnel
mode
Configures the QinQ tunnel port mode of an interface IC
switchport dot1q-tunnel
priority map
Copies inner tag priority to outer tag priority IC
switchport dot1q-tunnel
service default match all
discard
Configures an interface to discard all traffic entering the
QinQ tunnel access port
IC
switchport dot1q-tunnel
service default match untag
discard
Configures an interface to discard untagged traffic
entering or exiting a dot1q-tunnel service VLAN
IC
switchport dot1q-tunnel
service match cvid
Creates a CVLAN to SPVLAN mapping entry IC
show dot1q-tunnel service Displays tunnel service subscriptions, default discard
service, and discarded untagged traffic configuration
PE
show dot1q-tunnel Displays the configuration of QinQ tunnel ports PE
show interfaces switchport Displays port QinQ operational status PE