Configures a port to accept only untagged packets, and specifies that those packets be egress untagged. The untagged packets may be classified to an 802.1Q VLAN, a service VF, or a transport VF.
Interface subtype configuration mode on a trunk port
This command is supported when the port is in no-default-vlan trunk mode, as enabled by means of the switchport mode trunk-no-default-native command.
Use the no switchport trunk native-vlan-untagged command to remove the configuration.
Port mode change is not allowed when port security is enabled on the interface.
Configure untagged native VLAN 5000, allow VLAN 6000, and make VLAN 7000 the default VLAN.
device# configure terminal device(config)# interface ethernet 0/1 device(config-if-eth-0/1)# switchport mode trunk-no-default-native device(config-if-eth-0/1)# switchport trunk native-vlan untagged 5000 device(config-if-eth-0/1)# switchport trunk add vlan 6000 ctag 100-200 device(config-if-eth-0/1)# switchport trunk default-vlan 7000
Remove the native VLAN 5000.
device# configure terminal device(config)# interface ethernet 0/1 device(config-if-eth-0/1)# no switchport trunk native-vlan-untagged