dot1q tunneling ethertype
To configure the Ethertype, used by peer devices when implementing QinQ VLAN tagging, to be 0x9100, use the dot1q tunneling ethertype command in the interface configuration mode for an Ethernet interface. To return to the default Ethertype configuration (0x8100), use the no form of this command.
dot1q tunneling ethertype {0x9100 | 0x9200}
no dot1q tunneling ethertype
Syntax Description
0x9100 |
Sets the Ethertype value to 0x9100. |
0x9200 |
Sets the Ethertype value to 0x9200. |
Command Default
The Ethertype field used by peer devices when implementing QinQ VLAN tagging is either 0x8100 or 0x8200.
Command Modes
Interface configuration mode
Command History
Release |
Modification |
---|---|
Release 3.9.0 |
This command was introduced. |
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
The dot1q tunneling ethertype command can be applied to a main interface. When applied to the main interface, it changes the subinterfaces, that have been configured with an encapsulation dot1q second-dot1q command, under that main interface.
This command changes the outer VLAN tag from 802.1q Ethertype 0x8100 to 0x9100 or 0x9200.
Task ID
Task ID |
Operations |
---|---|
vlan |
read, write |
Examples
The following example shows how to configure the Ethertype to 0x9100:
RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# interface GigabitEthernet 0/1/5/0
RP/0/RSP0/CPU0:router(config-if)# dot1q tunneling ethertype 0x9100
RP/0/RSP0/CPU0:router(config-if)#
The following example shows how to configure the Ethertype to 0x9200:
RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# interface GigabitEthernet 0/1/5/1
RP/0/RSP0/CPU0:router(config-if)# dot1q tunneling ethertype 0x9200
RP/0/RSP0/CPU0:router(config-if)#