Administrator Guide

Layer 2 Switching Commands 823
This example configures an SP port using trunk mode.
console(config)#switchport dot1q ethertype vman
console(config)#vlan 10
console(config-vlan10)#exit
console(config)#interface te1/0/1
console(config-if-Te1/0/1)#switchport mode trunk
console(config-if-Te1/0/1)#switchport trunk allowed vlan 10
console(config-if-Te1/0/1)#switchport trunk native vlan 10
console(config-if-Te1/0/1)#switchport dot1q ethertype vman primary-tpid
switchport dot1q ethertype (Interface
Configuration)
Use the switchport dot1q ethertype command to apply previously defined
QinQ tunneling TPIDs to a service provider interface. Use the no form of the
command to remove the configured TPIDs.
Syntax
switchport dot1q ethertype { 802.1Q | vman | custom 0-65535 } [primary-
tpid]
no switchport dot1q ethertype { 802.1Q |vman | custom 0-65535 }
[primary-tpid]
802.1
Q—Allow ingress frames with Ethertype 0x8100.
vman—Define the Ethertype as 0x88A8.
custom—Define the Ethertype as a 16 bit user defined value (in decimal).
primary-tpid—Set the outer VLAN tag TPID to be inserted in frames
transmitted on an SP port. Also processes ingress frames with the
configured Ethertype as double tagged.
Default Configuration
802.1Q is the default Ethertype for both inner and outer VLAN TPIDs.
By default QinQ processing of frames is disabled.