Dell PowerConnect M6348 Cli Reference Manual page 514

Command line interface guide
Hide thumbs Also See for PowerConnect M6348:
Table of Contents

Advertisement

vlan-id — A valid VLAN ID of the VLAN to which the port is configured.
Default Configuration
The default value for the
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
The command automatically removes the port from the previous VLAN and adds it to the new
VLAN.
Example
The following example configures a VLAN ID of interface 1/g8 to become an access member of
VLAN ID 23.
console(config)#interface ethernet 1/g8
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. Separate nonconsecutive
add
VLAN IDs with a comma and no spaces. Use a hyphen to designate a range of IDs.
remove
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
514
vlan-id
parameter is 1.
vlan-list
vlan-list — List of valid VLAN IDs to remove from the forbidden list. Separate
vlan-list
|remove
}

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents