
17-50
Function:
Set the PVID for Hybrid port; the “
no
switchport hybrid native vlan
” command restores the default setting.
Parameter:
<
vlan-id>
is the PVID of Hybrid port.
Command mode:
Port Mode.
Default:
The default PVID of Hybrid port is 1.
Usage Guide:
When an untagged frame enters a Hybrid port, it will be added a tag of the native PVID which is set by this command,
and is forwarded to the native VLAN.
Example:
Set the native vlan to 100 for a Hybrid port.
Switch(config)#interface ethernet 1/5
Switch(Config-If-Ethernet1/5)#switchport mode hybrid
Switch(Config-If-Ethernet1/5)#switchport hybrid native vlan 100
Switch(Config-If-Ethernet1/5)#exit
17.1.31 switchport interface
Command:
switchport interface [ethernet | portchannel] [<interface-name | interface-list>]
no switchport interface [ethernet | portchannel] [<interface-name | interface-list>]
Function:
Specify Ethernet port to VLAN; the no command deletes one or one set of ports from the specified VLAN.
Parameter:
ethernet
is the Ethernet port to be added.
portchannel
means that the port to be added is a link-aggregation port.
interface-name
port name, such as e1/1. If this option is selected, ethernet or portchannel should not be.
interface-list
is the port list to be added or deleted, “;” and “-” are supported, for example: ethernet1/1;3;4-7;8.