Switchport Forbidden Vlan - Dell PowerConnect 6224 Command Line Interface Manual

6200 series systems
Hide thumbs Also See for PowerConnect 6224:
Table of Contents

Advertisement

console(config-if-1/g8)#switchport access vlan 23

switchport forbidden vlan

Use the switchport forbidden vlan command in Interface Configuration
mode to forbid adding specific VLANs to a port. To revert to allowing the
addition of specific VLANs to the port, use the remove parameter of this
command.
Syntax
switchport forbidden vlan {add
vlan-list — List of valid VLAN IDs to add to the forbidden list.
add
Separate nonconsecutive VLAN IDs with a comma and no spaces. Use a
hyphen to designate a range of IDs.
vlan-list — List of valid VLAN IDs to remove from the forbidden
remove
list. Separate nonconsecutive VLAN IDs with a comma and no spaces. Use
a hyphen to designate a range of IDs.
Default Configuration
All VLANs allowed.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
This command has no user guidelines.
Example
The following example forbids adding VLAN numbers 234 through 256 to
port 1/g8.
console(config)#interface ethernet 1/g8
console(config-if-1/g8)#switchport forbidden vlan add
234-256
vlan-list
|remove
vlan-list
}
VLAN Commands
593

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents