D-Link DES-3010FA/GA CLI Reference Guide
switchport trunk native vlan
The switchport trunk native vlan Interface Configuration mode command defines the native VLAN when the
interface is in trunk mode. To return to the default configuration, use the no form of this command.
Syntax
switchport trunk native vlan vlan-id
no switchport trunk native vlan
Parameters
•
vlan-id— Specifies the ID of the native VLAN.
Default Configuration
VID=1.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
The command adds the port as a member in the VLAN. If the port is already a member in the VLAN (not as a
native), it should be first removed from the VLAN.
Example
The following example configures VLAN number 123 as the native VLAN when Ethernet port 6 is in trunk mode.
Console(config)# interface ethernet 6
Console(config-if)# switchport trunk native vlan 123
Page 299