28 switchport hybrid native vlan, 29 switchport interface, 28 switchport hybrid native vlan -65 – PLANET XGS3-24042 User Manual

Page 219: 29 switchport interface -65

Advertising
background image

12-65

mode.

Switch(config)#interface ethernet 1/0/5

Switch(Config-If-Ethernet1/0/5)#switchport mode hybrid

Switch(Config-If-Ethernet1/0/5)#switchport hybrid allowed vlan 1;3;5-20 untag

Switch(Config-If-Ethernet1/0/5)#switchport hybrid allowed vlan 100; 300; 500-2000 tag

Switch(Config-If-Ethernet1/0/5)#exit

12.1.28 switchport hybrid native vlan

Command:

switchport hybrid native vlan <vlan-id>

no switchport hybrid native vlan

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/0/5

Switch(Config-If-Ethernet1/0/5)#switchport mode hybrid

Switch(Config-If-Ethernet1/0/5)#switchport hybrid native vlan 100

Switch(Config-If-Ethernet1/0/5)#exit

12.1.29 switchport interface

Command:

switchport interface [ethernet | portchannel] [interface-name | interface-list]

no switchport interface [ethernet | portchannel] [interface-name | interface-list]

Advertising
This manual is related to the following products: