506
VLAN Commands
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Dell Contax
CLI\files\VLAN_ISCLI_Only.fm
D E L L C O N F ID E N T IA L – P R E L IM I N A RY 5 / 1 5 /1 2 - F O R P R O O F O N LY
•
remove vlan-list
—List of VLAN IDs to remove. Separate nonconsecutive
VLAN IDs with a comma and no spaces. Use a hyphen to designate a range
of IDs.
•
tagged
- Specify that packets would be transmitted tagged for the
configured VLANs
•
untagged
- Specify that packets would be transmitted untagged for the
configured VLANs (this is the default)
Default Configuration
The port’s PVID equals to the Default VLAN ID and belongs to the Default
VLAN as untagged one.
Command Mode
Interface Configuration mode
Example
console(config-if)# interface gigabitethernet 1/0/1
console(config-if)# switchport mode general
console(config-if)#
switchport general allowed vlan
add 2-3 tagged
switchport general pvid
Use the
switchport general pvid
Interface Configuration (Ethernet, Port-
channel) mode command to configure the Port VLAN ID (PVID) when the
interface is in general mode. Use the
no
form of this command to restore the
default configuration.
Syntax
switchport general pvid
vlan-id
no switchport general pvid
Parameters
vlan-id
—Specifies the Port VLAN ID (PVID).