DXS-3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide
1344
Switch# configure terminal
Switch(config)# interface ethernet 1/0/1
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport trunk allowed vlan add 1000
Switch(config-if)#
116-14
switchport trunk native vlan
This command is used to specify the native VLAN ID of a trunk mode interface. Use the
no
interface
command to reset to the native VLAN ID to the default setting.
switchport trunk native vlan {VLAN-ID | tag}
no switchport trunk native vlan [tag]
Parameters
VLAN-ID
Specifies the native VLAN for a trunk port.
tag
Specifies to enable the tagging mode of the native VLAN.
Default
By default, the native VLAN is 1, untagged mode.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
The command only takes effect when the interface is set to trunk mode. When a trunk port native VLAN is
set to tagged mode, normally the acceptable frame type of the port should be set to “tagged-only” to only
accept tagged frames. When a trunk port works in the untagged mode for a native VLAN, transmitting
untagged packet for a native VLAN and tagged packets for all other VLANs and the acceptable frame
types of the port has to be set to “admit-all” in order to function correctly.
The specified VLAN does not need to exist to apply the command.
Example
This example shows how to configure interface Ethernet 1/0/1 as a trunk interface and configures the
native VLAN to 20.
Switch# configure terminal
Switch(config)# interface ethernet 1/0/1
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport trunk native vlan 20
Switch(config-if)#
116-15
vlan
This command is used to add VLANs and enter the VLAN configuration mode. Use the
no
command to
remove VLANs.
Summary of Contents for DXS-3600 Series
Page 1: ......
Page 423: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 418 ...
Page 548: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 543 ...
Page 673: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 668 ...
Page 712: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 707 Switch ...
Page 845: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 840 ...
Page 884: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 879 ...
Page 1152: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 1147 ...