DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
236
43-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
Specifies the native VLAN of a hybrid port.
Default
By default, the native VLAN of a hybrid port is VLAN 1.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 15.
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 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)#
43-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.