Vlan (Global Configuration) - Cisco Catalyst 3560X-24P Command Reference Manual

Cisco ios release 12.2(55)se
Hide thumbs Also See for Catalyst 3560X-24P:
Table of Contents

Advertisement

Chapter 2 Catalyst 3750-X and 3560-X Cisco IOS Commands

vlan (global configuration)

Use the vlan global configuration command to add a VLAN and to enter the VLAN configuration mode.
Use the no form of this command to delete the VLAN. Configuration information for normal-range
VLANs (VLAN IDs 1 to 1005) is always saved in the VLAN database. When you are using (VLAN
Trunking Protocol (VTP) version 3 or when VTP mode is transparent (VTP version 1 or 2), you can
create extended-range VLANs (VLAN IDs greater than 1005). In VTP version 3, these VLANs are also
saved in the VLAN database.
Syntax Description
vlan-id
Defaults
This command has no default settings.
Command Modes
Global configuration
Command History
Release
12.2(53)SE2
Usage Guidelines
You use the vlan vlan-id global configuration command to add normal-range VLANs (VLAN IDs 1 t0
1005) or extended-range VLANs (VLAN IDs 1006 to 4094). With VTP version 1 and version 2, before
adding extended-range VLANs, you must use the vtp transparent global configuration command to put
the switch in VTP transparent mode. With VTP version 1 and 2, extended-range VLANs are not learned
by VTP and are not added to the VLAN database. 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.
VTP version 3 supports propagation of extended-range VLANs and you can create them in VTP server
or client mode.
When you save the VLAN and VTP configurations in the startup configuration file and reboot the switch,
the configuration is selected in these ways:
OL-21522-02
vlan vlan-id
no vlan vlan-id
ID of the VLAN to be added and configured. For vlan-id, the range is 1 to 4094. 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.
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. With VTP version 3, all VLAN-IDs are in the VLAN database.
Catalyst 3750-X and 3560-X Switch Command Reference
vlan (global configuration)
2-923

Advertisement

Table of Contents
loading

Table of Contents