VLAN Commands
509
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Dell Contax
CLI\files\VLAN_ISCLI_Only.fm
D E L L CO N F I D E N T I A L – P R E L I MI N A RY 5/ 1 5 /1 2 - F O R PR O O F O N LY
switchport customer vlan
Use the
switchport customer vlan
Interface Configuration (Ethernet, Port-
channel) mode command to set the port's VLAN when the interface is in
customer mode. Use the no form of this command to restore the default
configuration.
Syntax
switchport customer vlan
vlan-id
no switchport customer vlan
Parameters
vlan-id
—Specifies the customer VLAN ID.
Default Configuration
No VLAN is configured.
Command Mode
Interface Configuration (Ethernet, Port-channel) mode
Example
The following example defines gigabitethernet port 1/0/
5
as a member of
customer VLAN 5.
Console(config)#
interf
ace gigabitethernet 1/0/5
Console(config-if)#
switchport mode custmer
Console(config-if)#
switchport customer vlan isolated
5
switchport general forbidden vlan
Use the
switchport general forbidden vlan
Interface Configuration
(Ethernet, Port-channel) mode command to forbid adding or removing
specific VLANs to or from a port. Use the no form of this command to restore
the default configuration.