Cisco Catalyst 2950 Command Reference Manual page 568

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

vlan (VLAN configuration)
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:
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
show vlan
vlan (global
configuration)
Catalyst 2950 and Catalyst 2955 Switch Command Reference
2-542
When the no vlan vlan-id parent form is used, the parent VLAN returns to the default (0). The
parent VLAN resets to the default if the parent VLAN is deleted or if the media keyword changes
the VLAN type or the VLAN type of the parent VLAN.
When the no vlan vlan-id ring form is used, the VLAN logical ring number returns to the default
(0).
When the no vlan vlan-id said form is used, the VLAN SAID returns to the default (100,000 plus
the VLAN ID).
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 vlan vlan-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.
Name: VLAN0002
Description
Displays the parameters for all configured VLANs or one VLAN (if the VLAN
ID or name is specified) in the administrative domain.
Enters config-vlan mode for configuring normal-range and extended-range
VLANs.
Chapter 2
Catalyst 2950 and 2955 Cisco IOS Commands
OL-10102-01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents