Cisco Systems EA6500 Manual De Usuario

Descargar
Página de 570
 
9-10
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
78-14099-04
Chapter 9      Configuring VLANs
Configuring VLANs
  •
You can configure extended-range VLANs only in global configuration mode. You cannot configure 
extended-range VLANs in VLAN database mode.
VLAN Configuration in VLAN Database Mode
Note
You cannot configure extended-range VLANs in VLAN database mode. You can configure 
extended-range VLANs only in global configuration mode. RPR+ redundancy does not support 
configuration entered in VLAN database mode. Use global configuration mode with RPR+ redundancy.
If the switch is in VTP server or transparent mode, you can configure VLANs in the VLAN database 
mode. When you configure VLANs in VLAN database mode, the VLAN configuration is saved in the 
vlan.dat files. To display the VLAN configuration, enter the show vlan command.
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 file by entering the show running-config command.
Creating or Modifying an Ethernet VLAN
User-configured VLANs have unique IDs from 1 to 4094, except for reserved VLANs (see 
). Enter the vlan command with an unused ID to create a VLAN. Enter the vlan command for 
an existing VLAN to modify the VLAN (you cannot modify an existing VLAN that is being used by a 
Layer 3 port or a software feature).
See the 
 for the list of default parameters that are 
assigned when you create a VLAN. If you do not specify the VLAN type with the media keyword, the 
VLAN is an Ethernet VLAN.
To create or modify a VLAN, perform this task:
Command
Purpose
Step 1
Router# configure terminal 
or
 
Router# vlan database 
Enters VLAN configuration mode.
Step 2
Router(config)# vlan 
vlan_ID{[-vlan_ID]|[,vlan_ID])
Router(config-vlan)#
or
 
Router(vlan)# vlan vlan_ID 
Creates or modifies an Ethernet VLAN, a range of 
Ethernet VLANs, or several Ethernet VLANs specified in 
a comma-separated list (do not enter space characters). 
Router(config)# no vlan vlan_ID 
Router(config-vlan)#
or
 
Router(vlan)# no vlan vlan_ID 
Deletes a VLAN. 
Step 3
Router(config-vlan)# end 
or
 
Router(vlan)# exit 
Updates the VLAN database and returns to privileged 
EXEC mode.
Step 4
Router# show vlan [id | namevlan 
Verifies the VLAN configuration.