D-Link DGS-1510 Series Reference Manual page 651

Gigabit ethernet smartpro switch
Hide thumbs Also See for DGS-1510 Series:
Table of Contents

Advertisement

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
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 eth1/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)#
75-7 switchport mode
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.
Specifies the port as an access port.
Specifies the port as a hybrid port.
Specifies the port as a trunk port.
648

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents