Quick Reference Guide

488 VLAN Commands
www.dell.com | support.dell.com
DELL CONFIDENTIAL – PRELIMINARY 5/15/12 – FOR PROOF ONLY
Default Configuration
No name is defined.
Command Mode
Interface Configuration (VLAN) mode. Cannot be configured for a range of interfaces (range
context).
User Guidelines
There are no user guidelines for this command.
Example
The following example gives VLAN number 19 the name Marketing.
switchport access vlan
The switchport access vlan Interface Configuration mode command configures the VLAN ID
when the interface is in access mode. Use the no form of this command to return to the default
configuration.
Syntax
switchport access vlan {
vlan-id
|
dynamic
}
no switchport access vlan
vlan-id
— Specifies the ID of the VLAN to which the port is configured.
dynamic
— Indicates that the port is assigned to a VLAN based on the source MAC address
of the host connected to the port.
Default Configuration
All ports belong to VLAN 1.
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.
Console(config)# interface vlan 19
Console(config-if)# name Marketing