Switchport Mode - D-Link DXS-1210-12TC Reference Manual

Dxs-1210 series l2 10 gigabit ethernet switch
Hide thumbs Also See for DXS-1210-12TC:
Table of Contents

Advertisement

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 eth1/0/1 to become a hybrid interface and configure
the PVID to 20.
Switch# configure terminal
Switch(config)#interface eth 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)#
48-7
This command is used to specify the VLAN mode for the port. Use the no form of this command to
revert to the default setting.
switchport mode {access | hybrid | trunk}
no switchport mode
Parameters
access
hybrid
trunk
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 any VLAN configured.
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 the switch-port mode is changed, the VLAN related setting associated with previous mode will
be lost.
Example
This example shows how to set the interface eth1/0/1 as a trunk port.
DXS-1210 Series Smart Managed Switch CLI Reference Guide

switchport mode

Specifies the port as an access port.
Specifies the port as a hybrid port.
Specifies the port as a trunk port.
362

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dxs-1210-12scDxs-1210-10tsDxs-1210-16tc

Table of Contents