switchport mode trunk disable-native-vlan
Use this command to create a switchport mode trunk without any default native vlan (i.e. vlan 1).
Use the no form of this command to delete the CLI and add vlan-1 back as default-native-vlan (i.e. vlan 1) as untagged.
Command Syntax
switchport mode trunk disable-native-vlan
no switchport mode trunk disable-native-vlan
Parameters
None
Command Mode
Interface mode
Applicability
This command is introduced in OcNOS version 5.1.
Example
(config)#int xe7
(config-if)#switchport mode trunk disable-native-vlan
Last modified date: 07/06/2023