Switchport Trunk Native Vlan - D-Link DXS-1210-12TC Reference Manual

Dxs-1210 series l2 10 gigabit ethernet switch
Hide thumbs Also See for DXS-1210-12TC:
Table of Contents

Advertisement

48-9
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
tag
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 eth1/0/1 as a trunk interface and configures the native
VLAN to 20.
Switch# configure terminal
Switch(config)#interface eth 1/0/1
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport trunk native vlan 20
Switch(config-if)#
48-10
This command is used to add VLANs and enter the VLAN configuration mode. Use the no form of this
command to remove VLANs.
vlan VLAN-ID [, | -]
no vlan VLAN-ID [, | -]
Parameters
VLAN-ID
,
DXS-1210 Series Smart Managed Switch CLI Reference Guide

switchport trunk native vlan

Specifies the native VLAN for a trunk port.
Specifies to enable the tagging mode of the native VLAN.
vlan
Specifies the ID of the VLAN to be added, removed or configured. The
valid VLAN ID range is from 1 to 4094. VLAN ID 1 cannot be removed.
Specifies a series of VLANs, or separate a range of VLANs from a
previous range. No space is required before and after the comma.
364

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dxs-1210-12scDxs-1210-10tsDxs-1210-16tc

Table of Contents