D-Link Dis-200G Series Cli Reference Manual page 243

Industrial gigabit ethernet switch
Hide thumbs Also See for Dis-200G Series:
Table of Contents

Advertisement

Level: 15.
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 port1 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)#
43-10
vlan
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
,
-
Default
The VLAN ID 1 exists in the system as the default VLAN.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
Use the vlan global configuration command to create VLANs. Entering the vlan command with a VLAN ID
enters the VLAN configuration mode. Entering the VLAN ID of an existing VLAN does not create a new VLAN,
but allows the user to modify the VLAN parameters for the specified VLAN. When the user enters the VLAN ID
DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
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.
(Optional) Specifies a range of VLANs. No space is required before
and after the hyphen.
239

Advertisement

Table of Contents
loading

Table of Contents