
412
VLAN Commands
www
.dell.com | support.dell.com
DELL CONFIDENTIAL – PRELIMINARY 9/13/06 – FOR PROOF ONLY
User Guidelines
•
This command enables changing the egress rule (e.g., from tagged to untagged) without first
removing the VLAN from the list.
Example
The following example adds VLANs 2, 5, and 6 to the allowed list of Ethernet port 1/e16 .
switch
p
o
r
t gene
r
al
p
vid
The
switchport general pvid
Interface Configuration mode command configures the PVID
when the interface is in general mode. To return to the default configuration, use the
no
form of
this command.
Syntax
switchport general pvid
vlan-id
no switchport general pvid
•
vlan-id
— Specifies the PVID (Port VLAN ID).
Default Configuration
If the default VLAN is enabled, PVID = 1. Otherwise, PVID=4095.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
There are no user guidelines for this command.
Example
The following example configures the PVID for Ethernet port 1/e16, when the interface is in
general mode.
Console(config)#
interface ethernet
1/e16
Console(config-if)#
switchport general allowed vlan add
2,5-6
tagged
Console(config)#
interface ethernet
1/e16
Console(config-if)#
switchport general pvid
234