2-543
Cisco Catalyst Blade Switch 3030 Command Reference
78-17262-01
Chapter 2 Cisco
Catalyst
Blade Switch 3030 Cisco IOS Commands
vlan (VLAN configuration)
•
When the
no
vlan
vlan-id
state
form is used, the VLAN state returns to the default (
active)
.
•
When the
no
vlan
vlan-id
stp type
form is used, the VLAN spanning-tree type returns to the default
(
ieee
).
•
When the
no
vlan
vlan-id
tb-vlan1
or
no
-id
tb-vlan2
form is used, the VLAN translational bridge
VLAN (or VLANs, if applicable) returns to the default (0). Translational bridge VLANs must be a
different VLAN type than the affected VLAN, and if two are specified, the two must be different
VLAN types from each other. A translational bridge VLAN resets to the default if the translational
bridge VLAN is deleted, if the
media
keyword changes the VLAN type, or if the
media
keyword
changes the VLAN type of the corresponding translation bridge VLAN.
Examples
This example shows how to add an Ethernet VLAN with default media characteristics. The default
includes a
vlan-name
of
VLANxxx
, where
xxxx
represents four numeric digits (including leading zeros)
equal to the VLAN ID number. The default
media
option is
ethernet
; the
state
option is
active
. The
default
said-value
variable
is 100000 plus the VLAN ID; the
mtu-size
variable is 1500; the
stp-type
option is
ieee
. When you enter the
exit
or
apply
vlan configuration command, the VLAN is added if it
did not already exist; otherwise, this command does nothing.
Switch(vlan)#
vlan 2
VLAN 2 added:
Name: VLAN0002
Switch(vlan)#
exit
APPLY completed.
Exiting....
This example shows how to modify an existing VLAN by changing its name and MTU size:
Switch(vlan)#
no vlan name engineering mtu 1200
You can verify your settings by entering the
show vlan
privileged EXEC command.
Related Commands
Command
Description
show vlan
Displays the parameters for all configured VLANs or one VLAN (if the VLAN
ID or name is specified) in the administrative domain.
vlan (global
configuration)
Enters config-vlan mode for configuring normal-range and extended-range
VLANs.