D-Link DGS-510 Reference Manual page 676

Gigabit ethernet smartpro switch
Table of Contents

Advertisement

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
,
-
Default
By default, a hybrid port is an untagged member port of VLAN 1.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
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 eth1/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)#
75-6
switchport hybrid native vlan
This command is used to specify the native VLAN ID of a hybrid port. Use the no form of this
command to reset the native VLAN to the default setting.
switchport hybrid native vlan VLAN-ID
no switchport hybrid native vlan
Parameters
vlan VLAN-ID
Default
By default, the native VLAN of a hybrid port is VLAN 1.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
(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 of a hybrid port.
673

Advertisement

Table of Contents
loading

Table of Contents