SUMMARY STEPS
1. configureterminal
2. vlanvlan-id
3. namevlan-name
4. mtumtu-size
5. remote-span
6. end
7. showvlan {name vlan-name |id vlan-id}
DETAILED STEPS
PurposeCommand or Action
Entersthe global configurationmode.configureterminal
Example:
Switch# configure terminal
Step 1
Entersa VLAN ID, and enters VLAN configuration mode. Enter a
newVLAN ID to createa VLAN, or enter an existing VLAN ID to
modifythat VLAN.
vlanvlan-id
Example:
Switch(config)# vlan 20
Step 2
Theavailable VLAN IDrange for this command is 1 to
4094.
Note
(Optional)Enters a name for theVLAN. If no name is entered for
theVLAN, the default is to append the vlan-id value with leading
namevlan-name
Example:
Switch(config-vlan)# name test20
Step 3
zerosto the word VLAN. For example, VLAN0004 is a default VLAN
namefor VLAN 4.
(Optional)Changes the MTU size(or otherVLAN characteristic).
mtumtu-size
Example:
Switch(config-vlan)# mtu 256
Step 4
(Optional)Configures the VLAN as the RSPAN VLAN for a remote
SPANsession.
remote-span
Example:
Switch(config-vlan)# remote-span
Step 5
Toreturn the VLAN name to the default settings, use the no
name,nomtu, or no remote-spancommands.
Note
Returnsto privileged EXEC mode.end
Example:
Switch(config)# end
Step 6
Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1
48 OL-29440-01
Configuring VLANs
How to Configure Normal-Range VLANs