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

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

Advertisement

switchport hybrid allowed vlan {[add] {tagged | untagged} | remove} VLAN-ID [, | -]
no switchport hybrid allowed vlan
Parameters
add
remove
tagged
untagged
VLAN-ID
,
-
Default
By default, a hybrid port is an untagged member port of VLAN 1.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
By setting the hybrid VLAN command multiple times with different VLAN IDs, a port can be a tagged member
port or an untagged member port of multiple VLANs.
When the allowed VLAN is only specified as the VLAN ID, the succeeding command will overwrites the
previous command. If the new untagged allowed VLAN list is overlap with the current tagged allowed VLAN
list, the overlap part will change to the untagged allowed VLAN. On the other hand, if the new tagged allowed
VLAN list is overlap with current untagged allowed VLAN list, the overlap part will change to the tagged allowed
VLAN. The last command will take effect. The VLAN does not need to exist to configure the command.
Example
This example shows how to configure interface eth1/0/1 to be a tagged member of VLAN 1000 and an
untagged member of VLAN 2000 and 3000.
Switch# configure terminal
Switch(config)# interface Ethernet 1/0/1
Switch(config-if)# switchport mode hybrid
Switch(config-if)# switchport hybrid allowed vlan add tagged 1000
Switch(config-if)# switchport hybrid allowed vlan add untagged 2000,3000
Switch(config-if)#
DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
Specifies the port will be added into the specified VLAN(s).
Specifies the port will be removed from the specified VLAN(s).
Specifies the port as a tagged member of the specified VLAN(s).
Specifies the port as an untagged member of the specified
VLAN(s).
Specified the allowed VLAN list or the VLAN list to be added to or
removed from the allow VLAN list. If no option is specified, the
specified VLAN list will overwrite the allowed VLAN list.
(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.
235

Advertisement

Table of Contents
loading

Table of Contents