Command Line Interface
4-176
4
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
provider’s 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
customer’s original tagged packets, and adding SPVLAN tags to each frame (also
called double tagging).
This section describes commands used to configure QinQ tunneling.
General Configuration Guidelines for QinQ
1.
Configure the switch to QinQ mode (
dot1q-tunnel system-tunnel-control
,
page 4-176).
2.
Create a SPVLAN (
vlan
, page 4-168).
3.
Configure the QinQ tunnel access port to dot1Q-tunnel access mode
(
switchport dot1q-tunnel mode
, page 4-177).
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
switchport dot1q-tunnel tpid
, page 4-178.)
5.
Configure the QinQ tunnel access port to join the SPVLAN as an untagged
member (
switchport allowed vlan
, page 4-173).
6.
Configure the SPVLAN ID as the native VID on the QinQ tunnel access port
(
switchport native vlan
, page 4-172).
7.
Configure the QinQ tunnel uplink port to dot1Q-tunnel uplink mode (
switchport
dot1q-tunnel mode
, page 4-177).
8.
Configure the QinQ tunnel uplink port to join the SPVLAN as a tagged member
(
switchport allowed vlan
, page 4-173).
dot1q-tunnel system-tunnel-control
This command sets the switch to operate in QinQ mode. Use the
no
form to disable
QinQ operating mode.
Syntax
[no] dot1q-tunnel system-tunnel-control
Table 4-58 IEEE 802.1Q Tunneling Commands
Command
Function
Mode
Page
dot1q-tunnel
system-tunnel-control
Configures the switch to operate in normal mode or QinQ
mode
GC
4-176
switchport dot1q-tunnel
mode
Configures an interface as a QinQ tunnel port
IC
4-177
switchport dot1q-tunnel tpid Sets the Tag Protocol Identifier (TPID) value of a tunnel port IC
4-178
show dot1q-tunnel
Displays the configuration of QinQ tunnel ports
PE
4-178
show interfaces switchport
Displays port QinQ operational status
PE
4-125
Summary of Contents for 8126L2
Page 2: ......
Page 18: ...Contents xiv ...
Page 22: ...Tables xviii ...
Page 26: ...Figures xxii ...
Page 44: ...Initial Configuration 2 10 2 ...
Page 108: ...Configuring the Switch 3 64 3 Figure 3 41 802 1X Port Configuration ...
Page 488: ...Software Specifications A 4 A ...
Page 501: ......