Purpose
Command or Action
Enters a VLAN ID, and enters VLAN configuration mode. Enter a new VLAN ID
to create a VLAN, or enter an existing VLAN ID to modify that VLAN.
vlan vlan-id
Example:
Switch(config)#
vlan 20
Step 2
The available VLAN ID range for this command is 1 to
4094.
Note
Additional
vlan
command options include:
•
access-map
—
Creates VLAN access-maps or enters the vlan access map
command mode.
•
configuration
—
Enters the vlan feature configuration mode.
•
dot1q
—
Configures VLAN dot1q tag native parameters.
•
filter
—
Applies a VLAN filter map to a VLAN list.
•
group
—
Creates a VLAN group.
(Optional) Enters a name for the VLAN. If no name is entered for the VLAN, the
default is to append the
vlan-id
value with leading zeros to the word VLAN. For
example, VLAN0004 is a default VLAN name for VLAN 4.
name vlan-name
Example:
Switch(config-vlan)#
name
Step 3
The following additional VLAN configuration command options are available:
test20
•
are
—
Sets the maximum number of All Router Explorer (ARE) hops for the
VLAN.
•
backupcrf
—
Enables or disables the backup concentrator relay function (CRF)
mode for the VLAN.
•
bridge
—
Sets the value of the bridge number for the FDDI net or Token Ring
net type VLANs.
•
exit
—
Applies changes, bumps the revision number, and exits.
•
media
—
Sets the media type of the VLAN.
•
no
—
Negates the command or default.
•
parent
—
Sets the value of the ID for the parent VLAN for FDDI or Token
Ring type VLANs.
•
remote-span
—
Configures a remote SPAN VLAN.
•
ring
—
Sets the ring number value for FDDI or Token Ring type VLANs.
•
said
—
Sets the IEEE 802.10 SAID value.
•
shutdown
—
Shuts down the VLAN switching.
•
state
—
Sets the operational VLAN state to active or suspended.
•
ste
—
Sets the maximum number of Spanning Tree Explorer (STE) hops for
the VLAN.
•
stp
—
Sets the Spanning Tree characteristics of the VLAN.
Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
12
OL-29322-01
Configuring VLANs
How to Configure Normal-Range VLANs