Users Guide

Layer 2 Switching Commands 870
Packets are always transmitted by the system using the primary TPID value in
the outer VLAN tag.
It is not possible to configure an inner VLAN TPID value. The inner VLAN
TPID value is always 802.1Q (0x8100).
Use the switchport dot1q ethertype Interface Configuration mode command
to apply a configured TPID value to an interface.
Example
This example defines the VMAN (0x88A8) TPID for use on a service provider
(SP) port and configures a service provider port (Te1/0/1) in general mode
after creating the common SP/CE VLAN. The port is configured in general
mode and to only allow tagged packets on ingress using the outer VLAN ID
10. Then, the port is configured to accept the VMAN TPID in the outer
VLAN on ingress and further configured to tag packets with the VMAN TPID
and VLAN ID 10 in the outer VLAN tag on egress.
This example configures an SP port using general 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 general
console(config-if-Te1/0/1)#switchport general allowed vlan add 10 tagged
console(config-if-Te1/0/1)#switchport dot1q ethertype vman primary-tpid
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