Reference Guide
Command Groups 45
VLAN Commands
Command Group Description Access Mode
vlan database Enters the VLAN database configuration mode. Global
Configuration
vlan Creates a VLAN. VLAN Database
interface vlan Enters the interface configuration (VLAN) mode. Global
Configuration
interface range vlan Enters the interface configuration mode to configure
multiple VLANs.
Global
Configuration
name Configures a name to a VLAN. Interface (VLAN)
Configuration
private-vlan primary Defines the primary PVLAN. Interface (VLAN)
Configuration
private-vlan isolated Defines the isolated VLAN of the PVLAN. Interface (VLAN)
Configuration
private-vlan
community
Associates the primary VLAN and community VLANs. Interface (VLAN)
Configuration
switchport mode Configures the VLAN membership mode of a port. Interface
Configuration
switchport access vlan Configures the VLAN ID when the interface is in
access mode.
Interface
Configuration
switchport private-vlan Defines the private-vlan port VLANs. Interface
Configuration
show vlan private-vlan Displays information about private VLANs. Privileged EXEC
switchport trunk
allowed vlan
Adds or removes VLANs from a port in general mode. Interface
Configuration
switchport trunk native
vlan
Defines the port as a member of the specified VLAN,
and the VLAN ID is the "port default VLAN ID
(PVID)".
Interface
Configuration
switchport general
allowed vlan
Adds or removes VLANs from a general port. Interface
Configuration
switchport general pvid Configures the PVID when the interface is in general
mode.
Interface
Configuration
switchport general
ingress-filtering disable
Disables port ingress filtering. Interface
Configuration










