Quick Reference Guide

Command Groups 65
DELL CONFIDENTIAL – PRELIMINARY 5/15/12 – FOR PROOF ONLY
VLAN Commands
show history Lists the commands entered in the current session. Privileged EXEC
show privilege Displays the current privilege level. User EXEC
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
switchport access vlan Configures the VLAN ID when the interface is in access
mode.
Interface
Configuration
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
switchport general
acceptable-frame-type
tagged-only
Discards untagged frames at ingress. Interface
Configuration
switchport forbidden
vlan
Forbids adding specific VLANs to a port. Interface
Configuration
switchport mode Configures the VLAN membership mode of a port Interface
Configuration
switchport customer
vlan
Set the port’s VLAN when the interface is in
customer mode.
Interface
Configuration