Switchport trunk native vlan – Dell PowerEdge VRTX User Manual
Page 546

546
VLAN Commands
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Dell Plasma-ARC
2+3\new_system_mifs_ARC2_latest\VLAN.fm
D E L L C O N F ID E N T IA L – P R E L IM I N A RY 4 / 3 /1 4 - FO R P R O O F O N LY
• add
vlan-list
—List of VLAN IDs to add to the port. Separate
nonconsecutive VLAN IDs with a comma and no spaces. Use a hyphen to
designate a range of IDs.
•
remove
vlan-list
—List of VLAN IDs to remove from a port. Separate
nonconsecutive VLAN IDs with a comma and no spaces. Use a hyphen to
designate a range of IDs.
•
except
vlan-list
—List of VLAN IDs including all VLANs from range 1-
4094 except VLANs belonging to
vlan-list
.
Default Configuration
By default, trunk ports belongs to all created VLANs.
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
User Guidelines
Use the switchport trunk allowed vlan command to specify which VLANs the
port belongs to when its mode is configured as trunk.
Example
To add VLANs 2,3 and 100 to trunk ports 1 to 13
console(config)# interface range gi0/1-3
console(config-if)# switchport mode trunk
console(config-if)# switchport trunk allowed vlan add 2-3,100
console(config-if)# exit
switchport trunk native vlan
If an untagged packet arrives on a trunk port, it is directed to the port’s native
VLAN. Use the switchport trunk native vlan Interface Configuration mode
command to define the native VLAN for a trunk interface. Use the no form of
this command to restore the default native VLAN.
Syntax
switchport trunk native vlan
{
vlan-id
|
none}