
410
VLAN Commands
www
.dell.com | support.dell.com
DELL CONFIDENTIAL – PRELIMINARY 9/13/06 – FOR PROOF ONLY
switch
p
o
r
t t
r
unk allowed vlan
The
switchport trunk allowed vlan
Interface Configuration mode command adds or removes
VLANs to or from a trunk port.
Syntax
switchport trunk allowed vlan
{
add
vlan-list
|
remove
vlan-list
}
•
add
vlan-list
— List of VLAN IDs to be added. Separate non-consecutive VLAN IDs with
a comma and no spaces. A hyphen designates a range of IDs.
•
remove
vlan-list
— List of VLAN IDs to be removed. Separate non-consecutive VLAN
IDs with a comma and no spaces. A hyphen designates a range of IDs.
Default Configuration
This command has no default configuration.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
There are no user guidelines for this command.
Example
The following example adds VLANs 1, 2, 5 to 6 to the allowed list of Ethernet port 1/e16.
switch
p
o
r
t t
r
unk native vlan
The
switchport trunk native vlan
Interface Configuration mode command defines the native
VLAN when the interface is in trunk mode. To return to the default configuration, use the
no
form of this command.
Syntax
switchport trunk native vlan
vlan-id
no switchport trunk native vlan
•
vlan-id
— Specifies the ID of the native VLAN.
Default Configuration
VID=1.
Console(config)#
interface ethernet
1/e16
console(config-if)#
switchport trunk allowed vlan add
1
-
2,5-6