Quick Reference Guide
VLAN Commands 493
DELL CONFIDENTIAL – PRELIMINARY 5/15/12 – FOR PROOF ONLY
Default Configuration
All frame types are accepted at ingress.
Command Mode
Interface Configuration (Ethernet, port-channel) mode.
User Guidelines
There are no user guidelines for this command.
Example
The following example configures Ethernet port 1/e16 to discard untagged frames at ingress.
switchport forbidden vlan
The switchport forbidden vlan Interface Configuration mode command forbids adding specific
VLANs to a port. To return to the default configuration, use the remove parameter for this
command.
Syntax
•
switchport forbidden vlan
{
add
vlan-list
|
remove
vlan-list
}
•
add
vlan-list
— Specifies the 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
— Specifies the 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
All VLANs are allowed.
Command Mode
Interface Configuration (Ethernet, port-channel) mode.
User Guidelines
• This command can be used to prevent GVRP from automatically making the specified VLANs
active on the selected ports.
Console(config)# interface ethernet 1/e16
Console(config-if)# switchport general acceptable-frame-type
tagged-only










