Switchport Mode - D-Link DXS-3600 Series Cli Reference Manual

Layer 2/3 managed 10gigabit
Hide thumbs Also See for DXS-3600 Series:
Table of Contents

Advertisement

DXS-3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide
Level: 12.
Usage Guideline
When configuring the hybrid port join to its native VLAN, use the switchport hybrid allowed vlan
command to add the native VLAN into its allowed VLAN. The specified VLAN does not need to exist to
apply the command. The command takes effect when the interface is set to hybrid mode.
Example
This example shows how to configure interface Ethernet 1/0/1 to become a hybrid interface and configure
the PVID to 20.
Switch# configure terminal
Switch(config)# interface ethernet 1/0/1
Switch(config-if)# switchport mode hybrid
Switch(config-if)# switchport hybrid allowed vlan add untagged 1000,20
Switch(config-if)# switchport hybrid native vlan 20
Switch(config-if)#
116-12

switchport mode

This command is used to specify the VLAN mode for the port. Use the no command to reset the VLAN
mode to the default setting.
switchport mode {access | hybrid | trunk | dot1q-tunnel}
no switchport mode
Parameters
access
hybrid
trunk
dot1q-tunnel
Default
By default, this option is hybrid.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
When a port is set to access mode, this port will be an untagged member of the access VLAN configured
for the port. When a port is set to hybrid mode, the port can be an untagged or tagged member of all
VLANs configured. The purpose of this VLAN mode is to support of protocol VLAN, subnet-based VLAN,
and MAC-based VLAN.
When a port is set to trunk mode, this port is either a tagged or untagged member port of its native VLAN
and can be a tagged member of other VLANs configured. The purpose of a trunk port is to support the
switch-to-switch connection. When a port is set to dot1q-tunnnel mode, the port behaves as an UNI port
of a service VLAN.
Specifies the port as an access port.
Specifies the port as a hybrid port.
Specifies the port as a trunk port.
Specifies the port as a dot1q-tunnel port.
1342

Advertisement

Table of Contents
loading

Table of Contents