Vlan (Global Configuration) - Cisco Catalyst 3550 Command Reference Manual

Multilayer switch
Hide thumbs Also See for Catalyst 3550:
Table of Contents

Advertisement

Chapter 2 Catalyst 3550 Switch Cisco IOS Commands

vlan (global configuration)

Use the vlan global configuration command to add a VLAN and enter the config-vlan mode. Use the no
form of this command to delete the VLAN.
Syntax Description
vlan-id
Defaults
This command has no default settings.
Command Modes
Global configuration
Command History
Release
12.1(9)EA1
12.1(11)EA1
Usage Guidelines
You must use the vlan vlan-id global configuration command to add extended-range VLANs (VLAN IDs
1006 to 4094). Before configuring VLANs in the extended range, you must use the vtp transparent
global configuration or VLAN configuration command to put the switch in VTP transparent mode.
Extended-range VLANs are not learned by VTP and are not added to the VLAN database, but when VTP
mode is transparent, VTP mode and domain name and all VLAN configurations are saved in the running
configuration, and you can save them in the switch startup configuration file by entering the copy
running-config startup-config privileged EXEC command.
When you save the VLAN and VTP configurations in the startup configuration file and reboot the switch,
the configuration is determined in these ways:
OL-8566-01
vlan vlan-id
no vlan vlan-id
ID of the VLAN to be added and configured. The range is 1 to 4094; do not enter
leading zeros. You can enter a single VLAN ID, a series of VLAN IDs separated by
commas, or a range of VLAN IDs separated by hyphens.
Modification
This command was introduced.
The remote-span configuration command was added.
If both the VLAN database and the configuration file show the VTP mode as transparent and the
VTP domain names match, the VLAN database is ignored. The VTP and VLAN configurations in
the startup configuration file are used. The VLAN database revision number remains unchanged in
the VLAN database.
If the VTP mode is server, or if the startup VTP mode or domain names do not match the VLAN
database, the VTP mode and the VLAN configuration for the first 1005 VLANs use the VLAN
database information.
If the image on the switch or the configuration file is earlier than Cisco IOS Release 12.1(9)EA1,
the switch reboots with information in the VLAN database.
Catalyst 3550 Multilayer Switch Command Reference
vlan (global configuration)
2-619

Advertisement

Table of Contents
loading

Table of Contents