Reference Guide
344 VLANs
switchport access vlan {vlan-id |
none}
no switchport access vlan
Configures the VLAN ID when the
interface is in access mode.
Use the no form of this command to
restore the default configuration.
switchport trunk allowed vlan
{all |none|add vlan-list|remove
vlan-list|except vlan-list}
Sets the trunk characteristics when the
interface is in Trunking mode.
switchport trunk native vlan
{vlan-id|none}
no switchport trunk native vlan
Defines the native VLAN when the
interface is in trunk mode.
Use the no form of this command to
restore the default configuration.
switchport general allowed vlan
{add|remove} vlan-list
[tagged|untagged]
no switchport general allowed
vlan
Sets the general characteristics when
the interface is in general mode.
Use the no form of this command to
reset a general characteristic to the
default.
switchport general pvid vlan-id
no switchport general pvid
Configures the PVID when the
interface is in general mode.
Use the no form of this command to
restore the default configuration.
switchport customer vlan vlan-id
no switchport customer vlan
Sets the port's VLAN when the
interface is in customer mode.
Use the no form of this command to
restore the default configuration.
switchport mode
{access|trunk|general|private-
vlan {promiscuous|host}|customer}
no switchport mode
Configure the VLAN membership
mode of a port.
Use the no form of this command to
restore the default configuration.
switchport
no switchport
Put an interface that is in Layer 3mode
into Layer 2 mode.
Use the no form of this command to
put an interface in Layer 3 mode.
T
able 14-2. P
ort-to-VLAN Group Assignments CLI Commands
(continued)
CLI Command Description










