
458
VLAN Commands
www
.dell.com | support.dell.com
Example
The following example shows how to add VLANs 2 and 5 to 8 to the allowed list of g8.
switchport trunk native vlan
The
switchport trunk native vlan
interface configuration command defines the port as a member
of the specified VLAN, and the VLAN ID as the "port default VLAN ID (PVID)". To configure the
default VLAN ID, use the
no
form of this command.
Syntax
switchport trunk native vlan
vlan-id
no switchport trunk native vlan
•
vlan-id
—Valid
VLAN ID of the active VLAN.
Default Configuration
VLAN ID=1
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
This command has the following consequences: incoming untagged frames are assigned to
this VLAN and outgoing traffic in this VLAN on this port is sent untagged (despite the
normal situation where traffic sent from a trunk-mode port is all tagged).
The command adds the port as a member in the VLAN. If the port is already a member in the
VLAN (not as a native), it should be first removed from the VLAN.
Example
The following example g8, in trunk mode, is configured to use VLAN number 123 as the "native"
VLAN.
switchport general allowed vlan
The
switchport general allowed vlan
interface configuration command adds or removes VLANs
from a general port.
Console (config)#
interface ethernet
g8
Console (config-if)#
switchport trunk allowed vlan add
2,5-8
Console (config)#
interface ethernet
g8
Console (config-if)#
switchport trunk native vlan
123
Summary of Contents for PowerConnect 6024
Page 24: ...24 Contents ...
Page 86: ...86 ACL Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 128: ...128 Configuration and Image Files w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 182: ...182 IGMP Snooping Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 206: ...206 Line Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 280: ...280 Port Channel Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 284: ...284 Port Monitor Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 316: ...316 QoS Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 368: ...368 w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 410: ...410 SSH Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 443: ...TACACS Commands 443 Global values TimeOut 3 Source IP 172 16 8 1 OOB Source IP 172 16 8 1 ...
Page 444: ...444 TACACS Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 452: ...452 User Interface w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 476: ...476 VRRP Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 486: ...486 Web Server w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 504: ...504 802 1x Commands w w w d e l l c o m s u p p o r t d e l l c o m ...