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

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

Advertisement

,
-
Default
By default, all VLANs are allowed.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
This command only takes effect when the interface is set to trunk mode. If a VLAN is allowed on a trunk port,
the port will become the tagged member of the VLAN. When the allowed VLAN option is set to all, the port will
be automatically added to all the VLAN created by the system.
Example
This example shows how to configure interface eth1/0/1 as a tagged member of VLAN 1000.
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)#
43-9 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
tag
Default
By default, the native VLAN is 1, untagged mode.
Command Mode
Interface Configuration Mode.
Command Default Level
DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
(Optional) 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.
Specifies the native VLAN for a trunk port.
Specifies to enable the tagging mode of the native VLAN.
238

Advertisement

Table of Contents
loading

Table of Contents