Switchport Trunk Native Vlan; Vlan - Planet SGS-6341 Series Command Manual

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

Advertisement

12.1.33 switchport trunk native vlan

Command:
switchport trunk native vlan <vlan-id>
no switchport trunk native vlan
Function:
Set the PVID for Trunk port; the "no switchport trunk native vlan" command restores the default
setting.
Parameter:
<vlan-id> is the PVID for Trunk port.
Command mode:
Port Mode.
Default:
The default PVID of Trunk port is 1.
Usage Guide:
PVID concept is defined in 802.1Q. PVID in Trunk port is used to tag untagged frames. When a
untagged frame enters a Trunk port, the port will tag the untagged frame with the native PVID set
with this commands for VLAN forwarding.
Example:
Set the native VLAN for a Trunk port to 100.
Switch(config)#interface ethernet 1/0/5
Switch(Config-If-Ethernet1/0/5)#switchport mode trunk
Switch(Config-If-Ethernet1/0/5)#switchport trunk native vlan 100
Switch(Config-If-Ethernet1/0/5)#exit

12.1.34 vlan

Command:
vlan WORD
no vlan WORD
Function:
Create VLANs and enter VLAN configuration mode. If using ';' and '-' connect with multi-VLANs,
then only create these VLANs. If only existing VLAN, then enter VLAN configuration mode; if the
VLAN is not exist, then create VLAN and enter VLAN configuration mode. In VLAN Mode, the user
can set VLAN name and assign the switch ports to the VLAN. The no command deletes specified
12-69

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sgs-6341-24t4x

Table of Contents