510
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
Syntax
switchport general forbidden vlan
{add vlan-list | remove vlan-list}
no switchport general forbidden vlan
{add vlan-list | remove vlan-list}
Parameters
•
add
vlan-list
—Specifies a 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.
•
remove
vlan-list
—Specifies a list of VLAN IDs to remove. Separate
nonconsecutive VLAN IDs with a comma and no spaces. Use a hyphen
designate a range of IDs.
Default Configuration
All VLANs are allowed.
Command Mode
Interface Configuration (Ethernet, Port-channel) mode
Example
The following example forbids adding VLAN IDs 234 to 256 to
gigabitethernet port
1/0/7
.
Console(config)#
interface
gigabitethernet 1/0/7
Console(config-if)#
switchport mode general
Console(config-if)#
switchport general forbidden vlan add
234-
256
map protocol protocols-group
Use the
map protocol protocols-group
VLAN Configuration mode command
to map a protocol to a group of protocols. Use the
no
form of this command
to delete a protocol from a group.
Syntax
map protocol
protocol
[
encapsulation
]
protocols-group
group
no map protocol
protocol
[
encapsulation
]