Do the following to enable tagging for native traffic on a specific interface.
Ensure that reserved VLANs are not used.
The following table describes the acceptable frame types, as well as system behavior, for tagged native VLAN, untagged native VLAN, and no native VLAN.
Tagged native VLAN | Untagged native VLAN | No native VLAN | |
Configuration | switchport trunk tag native-vlan (Default) and Globally: vlan dot1q tag native | no switchport trunk tag native-vlan or Global config: no vlan dot1q tag native | switchport mode trunk-no-default-native |
Acceptable frame type | VLAN-tagged only | All (tagged and untagged) | VLAN-tagged only |
Receive untagged | Drop | Forward/flood in native VLAN | Drop |
Receive tagged on native VLAN | Forward/flood in native VLAN | Forward/flood in native VLAN | Drop |
Transmit on native VLAN | Tagged with native VLAN | Untagged packet | Will not forward on native VLAN |
device# configure terminal
device(config)# interface ethernet 0/1
device(conf-if-eth-0/1)# switchport
device(conf-if-eth-0/1)# switchport trunk tag native-vlan
This example enables tagging for native traffic data on a specific Ethernet interface.
device# configure terminal device(config)# interface ethernet 0/1 device(conf-if-eth-0/1)# switchport trunk tag native-vlan
This example disables the native VLAN tagging on a port-channel.
device# configure terminal device(config)# interface port-channel 35 device(config-Port-channel-35)# no switchport trunk tag native