Creating Or Modifying An Ethernet Vlan - Cisco 6500 Series Software Configuration Manual

Hide thumbs Also See for 6500 Series:
Table of Contents

Advertisement

Configuring VLANs
VLAN Configuration in VLAN Database Mode
You cannot configure extended-range VLANs in VLAN database mode. You can configure
Note
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
page
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
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
Step 1
Router# configure terminal
or
Router# vlan database
Step 2
Router(config)# vlan
vlan_ID{[-vlan_ID]|[,vlan_ID])
Router(config-vlan)#
or
Router(vlan)# vlan vlan_ID
Router(config)# no vlan vlan_ID
Router(config-vlan)#
or
Router(vlan)# no vlan vlan_ID
Step 3
Router(config-vlan)# end
or
Router(vlan)# exit
Step 4
Router# show vlan [id | name] vlan
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
9-10
You can configure extended-range VLANs only in global configuration mode. You cannot configure
extended-range VLANs in VLAN database mode.
9-2). Enter the vlan command with an unused ID to create a VLAN. Enter the vlan command for
"VLAN Default Configuration" section on page 9-6
for the list of default parameters that are
Purpose
Enters VLAN configuration mode.
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).
Deletes a VLAN.
Updates the VLAN database and returns to privileged
EXEC mode.
Verifies the VLAN configuration.
Chapter 9
Configuring VLANs
Table 9-1 on
78-14099-04

Advertisement

Table of Contents
loading

Table of Contents