Configuring Vlans In Global Configuration Mode - Cisco 4500M Software Manual

Software guide
Table of Contents

Advertisement

Chapter 10
Understanding and Configuring VLANs
VLANs support a number of parameters that are not discussed in detail in this section. For complete
Note
information, refer to the Catalyst 4500 Series Switch Cisco IOS Command Reference.
Note
The VLAN configuration is stored in the vlan.dat file, which is stored in nonvolatile memory. You can
cause inconsistency in the VLAN database if you manually delete the vlan.dat file. If you want to
modify the VLAN configuration or VTP, use the commands described in the following sections and in
the Catalyst 4500 Series Switch Cisco IOS Command Reference.
These sections describe how to configure VLANs:

Configuring VLANs in Global Configuration Mode

If the switch is in VTP server or transparent mode (see the
you can configure VLANs in global and VLAN configuration modes. When you configure VLANs in
global and config-vlan configuration modes, the VLAN configuration is saved in the vlan.dat files, not
the running-config or startup-config files. To display the VLAN configuration, enter the show vlan
command.
If the switch is in VLAN transparent mode, use the copy running-config startup-config command to
save the VLAN configuration to the startup-config file. After you save the running configuration as the
startup configuration, the show running-config and show startup-config commands display the VLAN
configuration.
When the switch boots, if the VTP domain name and VTP mode in the startup-config and vlan.dat files
Note
do not match, the switch uses the configuration in the vlan.dat file.
You use the interface configuration command mode to define the port membership mode and add and
remove ports from a VLAN. The results of these commands are written to the running-config file, and
you can display the contents of the file by entering the show running-config command.
User-configured VLANs have unique IDs from 1 to 4094. To create a VLAN, enter the vlan command
with an unused ID. To verify whether a particular ID is in use, enter the show vlan id ID command
modify a VLAN, enter the vlan command for an existing VLAN.
See the
assigned when you create a VLAN. If you do not use the media keyword when specifying the VLAN
type, the VLAN is an Ethernet VLAN.
OL-6696-01
Configuring VLANs in Global Configuration Mode, page 10-5
Configuring VLANs in VLAN Database Mode, page 10-7
Assigning a Layer 2 LAN Interface to a VLAN, page 10-8
"VLAN Default Configuration" section on page 10-4
"Configuring VTP" section on page
for the list of default parameters that are
Software Configuration Guide—Release 12.2(25)EW
Configuring VLANs
27-6),
To
.
10-5

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500 series

Table of Contents