VLAN Commands
505
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Dell Contax
CLI\files\VLAN_ISCLI_Only.fm
D E L L CO N F I D E N T I A L – P R E L I MI N A RY 5/ 1 5 /1 2 - F O R PR O O F O N LY
Default Configuration
If the default VLAN is enabled, the VLAN ID is 1. Otherwise, the VLAN ID is
4095.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
The command adds the port as a member of the VLAN. If the port is already
a member of the VLAN (not a native), it must first be removed from the
VLAN.
Example
The following example configures VLAN number 123 as the native VLAN
when the port is in trunk mode.
Console#
interface
gi1/0/1
Console(config-if)#
switchport trunk native vlan
123
switchport general allowed vlan
Use the
switchport general allowed vlan
Interface Configuration mode
command to set the general characteristics when the interface is in general
mode. Use the
no
form of this command to reset a general characteristic to
the default.
Syntax
switchport general allowed vlan
{
add
|
remove
} vlan-list [
tagged
|
untagged
]
no switchport general allowed vlan
Parameters
•
add vlan-list
—List of VLAN IDs to add. Separate nonconsecutive VLAN
IDs with a comma and no spaces. Use a hyphen to designate a range of
IDs. (Range: 1–4094)