Cisco Catalyst 4500 Series Software Configuration Manual page 620

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

VLANs
When the switch boots, if the VTP domain name and VTP mode in the startup-config and vlan.dat files
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. Beginning with
Cisco IOS Release 15.2(2)E and Cisco IOS XE Release 3.6E, if the VTP mode is off or transparent,
VLAN configuration is saved to the startup-config file, even when the configuration is not applied to
the interface.
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.
To create a VLAN, perform this task:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# vlan vlan_ID
Switch(config-vlan)#
Step 3
Switch(config-vlan)# end
Step 4
Switch# show vlan [id
vlan_name
When you create or modify an Ethernet VLAN, note the following:
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
17-6
"VLAN Default Configuration" section on page 17-4
name]
|
Because Layer 3 ports and some software features require internal VLANs allocated from 1006 and
up, configure extended-range VLANs starting with 4094 and work downward.
You can configure extended-range VLANs only in global configuration mode. You cannot configure
extended-range VLANs in VLAN database mode.
Layer 3 ports and some software features use extended-range VLANs. If the VLAN you are trying
to create or modify is being used by a Layer 3 port or a software feature, the switch displays a
message and does not modify the VLAN configuration.
When you create VLANs with the VLAN configuration command, they are automatically added to
the existing VTP domain; no action is required of the user.
Purpose
Enters global configuration mode.
Adds an Ethernet VLAN.
You cannot delete the default VLANs for these media types:
Note
Ethernet VLAN 1 and FDDI or Token Ring VLANs 1002 to
1005.
When you delete a VLAN, any LAN interfaces configured as
access ports assigned to that VLAN become inactive. They
remain associated with the VLAN (and thus inactive) until you
assign them to a new VLAN.
Use the no keyword to delete a VLAN.
When the prompt shows Switch(config-vlan)#; you are in
vlan-configuration mode. If you want to change any of the parameters
for the newly created VLAN, use this mode.
Returns to enable mode from vlan-configuration mode.
Verifies the VLAN configuration.
Chapter 17
Configuring VLANs, VTP, and VMPS
for the list of default parameters that are
To
.

Advertisement

Table of Contents
loading

Table of Contents