CLI Reference Guide-R07

Table Of Contents
Chapter 20
| VLAN Commands
Configuring IEEE 802.1Q Tunneling
– 490 –
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
QinQ tunneling must be enabled on the switch using the dot1q-tunnel
system-tunnel-control command before the switchport dot1q-tunnel mode
interface command can take effect.
When a tunnel uplink port receives a packet from a customer, the customer tag
(regardless of whether there are one or more tag layers) is retained in the inner
tag, and the service providers tag added to the outer tag.
When a tunnel uplink port receives a packet from the service provider, the
outer service provider’s tag is stripped off, and the packet passed on to the
VLAN indicated by the inner tag. If no inner tag is found, the packet is passed
onto the native VLAN defined for the uplink port.
Example
Console(config)#interface ethernet 1/1
Console(config-if)#switchport dot1q-tunnel mode access
Console(config-if)#
Related Commands
show dot1q-tunnel (473)
show interfaces switchport (373)
switchport dot1q-
tunnel priority map
This command copies the inner tag priority to the outer tag priority. Use the no
form to disable this feature.
Syntax
[no] switchport dot1q-tunnel priority map
Default Setting
Disabled
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
When priority bits are found in the inner tag, these are also copied to the outer tag.
This allows the service provider to differentiate service based on the indicated
priority and appropriate methods of queue management at intermediate nodes
across the tunnel.