Download Print this page

Switchport General Forbidden Vlan - Dell Networking 7048 Reference Manual

Powerconnect 7000 series systems
Hide thumbs Also See for Networking 7048:

Advertisement

Command Mode
Interface Configuration (gigabitethernet, port-channel, tengigabitethernet)
mode
User Guidelines
This command removes the port from the previous VLAN membership and
adds it to the specified VLAN. The no form of the command sets the port
VLAN membership to VLAN 1.
Example
The following example configures interface gi1/0/8 to operate in access mode
with a VLAN membership of 23. Received untagged packets are processed on
VLAN 23. Received packets tagged with VLAN 23 are also accepted. Other
received tagged packets are discarded.
console(config)#interface gigabitethernet 1/0/8
console(config-if-1/0/8)#switchport access vlan 23

switchport general forbidden vlan

Use the switchport general forbidden vlan command in Interface
Configuration mode to forbid adding specific VLANs to a general mode port.
To revert to allowing the addition of specific VLANs to the port, use the
remove parameter of this command.
Syntax
switchport general 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.
828
VLAN Commands
vlan-list
| remove
vlan-list
}

Hide quick links:

Advertisement

loading