DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
648
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
Specifies the port as an access port.
hybrid
Specifies the port as a hybrid port.
trunk
Specifies the port as a trunk port.
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.
Summary of Contents for DGS-1510 Series
Page 1: ...1 0 ...
Page 27: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 24 ...
Page 281: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 278 ...
Page 336: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 333 ...
Page 475: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 472 ...
Page 695: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 692 ...