Switchport dot1q-tunnel tpid – LevelOne GTL-2690 User Manual

Page 601

Advertising
background image

VLAN Commands

34-16

34

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 provider’s 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

Related Commands

show dot1q-tunnel (34-17)
show interfaces switchport (27-11)

switchport dot1q-tunnel tpid

This command sets the Tag Protocol Identifier (TPID) value of a tunnel port. Use the
no form to restore the default setting.

Syntax

switchport dot1q-tunnel tpid tpid
no switchport dot1q-tunnel tpid

tpid – Sets the ethertype value for 802.1Q encapsulation. This identifier is
used to select a nonstandard 2-byte ethertype to identify 802.1Q tagged
frames. The standard ethertype value is 0x8100. (Range: 0800-FFFF
hexadecimal)

Default Setting

0x8100

Command Mode

Interface Configuration (Ethernet, Port Channel)

Command Usage

• Use the switchport dot1q-tunnel tpid command to set a custom 802.1Q

ethertype value on the selected interface. This feature allows the switch to
interoperate with third-party switches that do not use the standard 0x8100
ethertype to identify 802.1Q-tagged frames. For example, 0x1234 is set as the

Console(config)#interface ethernet 1/1
Console(config-if)#switchport dot1q-tunnel mode access
Console(config-if)#

Advertising