tag-type

Configures Tag Protocol ID (TPID) for the specified interface.

Syntax

tag-type tp-id
no tag-type tp-id

Parameter:

tp-id
Specifies the TPID. TPID is a numerical value in hexadecimal format. Some of the TPIDs supported are 0x8100, 0x9100, 0x9200, 0x88a8.

Command Default

The default TPID value is 0x8100.

Modes

Interface configuration mode

Usage Guidelines

The interface can be a port or a port-channel (LAG).

Use the no form of the command to revert to the default TPID value.

The TPID feature has the following limitations:

Note

Note

The LSP FRR limitation is for any tag-type configured in the device. You can configure either FRR or tag-type on any interface in the device, as in this example.
device(config-router-mpls-lsp-to-avalanche-1)# frr
%Error: Not allowed, when a non-default TPID (tag-type) is configured on any port-channel or physical interfaces.
device(config-router-mpls-lsp-to-avalanche-1)# 
Important

Important

When the tag type is changed on interface, the interface is brought down first, causing all learned MAC addresses to be flushed.

Examples

This example shows how to configure a nondefault TPID on an Ethernet interface.

device# configure terminal
device(config)# inteface ethernet 1/1
device(conf-if-eth-1/1)# tag-type 0x9100

This example shows how to revert to the default TPID value.

device# configure terminal
device(config)# inteface ethernet 1/1
device(conf-if-eth-1/1)# no tag-type

This example shows how to configure a nondefault TPID on a port-channel interface.

device# configure terminal
device(config)# inteface port-channel 10
device(config-Port-channel-10)# tag-type 0x88a8