Switchport Hybrid Native Vlan - Planet SGS-6341 Series Command Manual

Gigabit ethernet l3 stackable managed switch with 10gbe uplink
Table of Contents

Advertisement

port, traffic of VLANs not included are prohibited. The difference between tag and untag mode by
setting allowed vlan: set VLAN to untag mode, the frame sent via hybrid port without VLAN tag; set
VLAN to tag mode, the frame sent via hybrid port with corresponding VLAN tag. The same VLAN
can not be allowed with tag and untag mode by a Hybrid port at the same time. If configure the tag
(or untag) allowed VLAN to untag (or tag) allowed VLAN, the last configuration will cover the before.
Example:
Set hybrid port allowed vlan 1, 3, 5-20 with untag mode and allow vlan 100; 300; 500-2000 with tag
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-65

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sgs-6341-24t4x

Table of Contents