Vlan Configuration Mode Options; Vlan Configuration In Config-Vlan Mode; Vlan Configuration In Vlan Database Configuration Mode; Saving Vlan Configuration - Cisco Catalyst 3750 Software Configuration Manual

Metro switch
Hide thumbs Also See for Catalyst 3750:
Table of Contents

Advertisement

Chapter 10
Configuring VLANs

VLAN Configuration Mode Options

You can configure normal-range VLANs (with VLAN IDs 1 to 1005) by using these two configuration
modes:

VLAN Configuration in config-vlan Mode

To access config-vlan mode, enter the vlan global configuration command with a VLAN ID. Enter a new
VLAN ID to create a VLAN, or enter an existing VLAN ID to modify the VLAN. You can use the default
VLAN configuration
information about commands available in this mode, refer to the vlan global configuration command
description in the command reference for this release. When you have finished the configuration, you
must exit config-vlan mode for the configuration to take effect. To display the VLAN configuration,
enter the show vlan privileged EXEC command.
You must use this config-vlan mode when creating extended-range VLANs (VLAN IDs greater than
1005). See the

VLAN Configuration in VLAN Database Configuration Mode

To access VLAN database configuration mode, enter the vlan database privileged EXEC command.
Then enter the vlan command with a new VLAN ID to create a VLAN, or enter an existing VLAN ID
to modify the VLAN. You can use the default VLAN configuration
commands to configure the VLAN. For more information about keywords available in this mode, refer
to the vlan VLAN database configuration command description in the command reference for this
release. When you have finished the configuration, you must enter apply or exit for the configuration to
take effect. When you enter the exit command, it applies all commands and updates the VLAN database.
VTP messages are sent to other switches in the VTP domain, and the privileged EXEC mode prompt
appears.

Saving VLAN Configuration

The configurations of VLAN IDs 1 to 1005 are always saved in the VLAN database (vlan.dat file). If
VTP mode is transparent, they are also saved in the switch running configuration file and you can enter
the copy running-config startup-config privileged EXEC command to save the configuration in the
startup configuration file. You can use the show running-config privileged EXEC command to display
the switch running configuration file. To display the VLAN configuration, enter the show vlan
privileged EXEC command.
78-15870-01
VLAN Configuration in config-vlan Mode, page 10-7
You access config-vlan mode by entering the vlan vlan-id global configuration command.
VLAN Configuration in VLAN Database Configuration Mode, page 10-7
You access VLAN database configuration mode by entering the vlan database privileged EXEC
command.
(Table
10-2) or enter multiple commands to configure the VLAN. For more
"Configuring Extended-Range VLANs" section on page
(Table
Catalyst 3750 Metro Switch Software Configuration Guide
Configuring Normal-Range VLANs
10-12.
10-2) or enter multiple
10-7

Advertisement

Table of Contents
loading

Table of Contents