CLI Reference Guide-R04

Table Of Contents
Chapter 22
| VLAN Commands
Configuring IEEE 802.1Q Tunneling
– 600 –
switchport
dot1q-tunnel
priority map
This command copies the inner tag 802.1p value to the outer tag 802.1p value. Use
the no form of this command to use port default priority.
Syntax
[no] switchport dot1q-tunnel priority map
Default Setting
Disabled
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
The command is configured on a QinQ access port to take packet tag's 1p value
as ingress priority for the S-VLAN. If disabled, the access port always takes the
default 1p priority setting as ingress priority.
When using many-to-one bundling, untagged and priority tagged packets can
be mapped to the S-VLAN with this command. This ensures consistent
treatment of priority tagged packets across the S-VLAN.
Example
Console(config)#interface ethernet 1/1
Console(config-if)#switchport dot1q-tunnel priority map
Console(config-if)#
switchport
dot1q-tunnel
service match cvid
This command creates a CVLAN to SPVLAN mapping entry. Use the no form to
delete a VLAN mapping entry.
Syntax
switchport dot1q-tunnel service svid match cvid cvid [remove-ctag]
svid - VLAN ID for the outer VLAN tag (Service Provider VID). (Range: 1-4094)
cvid - VLAN ID for the inner VLAN tag (Customer VID). (Range: 1-4094)
remove-ctag - Removes the customers VLAN tag.
Default Setting
Default mapping uses the PVID of the ingress port on the edge router for the SPVID.
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
The inner VLAN tag of a customer packet entering the edge router of a service
providers network is mapped to an outer tag indicating the service provider