17.
Virtual LANs (VLANs)
MN700004 Rev 01
200
Table 17-4 summarizes the commands that are available in the global Configuration mode.
Table 17-4 Commands in Global Configuration Mode
C o m m a n d D e s c r i p t i o n
vlan
Changes the mode from the global Configuration to VLAN Configuration mode.
vlan
The
vlan
command, in Global Configuration mode, changes the mode from the global
Configuration to VLAN Configuration mode. VLAN Configuration mode provides access to
VLAN Configuration commands.
Command Syntax
device-name
(config)#
vlan
device-name
(config vlan)#
create
The
create
command, in VLAN Configuration mode, creates a VLAN with the specified
name and tag (VLAN serial number).
Command Syntax
device-name
(config vlan)#
create
NAME
<
vlan-id
>
Argument Description
NAME
VLAN name.
vlan-id
VLAN tag number, in the range <2-4094>
Example
device-name
(config vlan)#
create accounting 2
This example creates a VLAN named
accounting
with tag number 2.
delete
The
delete
command, in VLAN Configuration mode, deletes the VLAN specified by its
VLAN name.
Command Syntax
device-name
(config vlan)#
delete
NAME