Configuring Vlans In Vlan Database Mode - Cisco 4500M Software Manual

Software guide
Table of Contents

Advertisement

Chapter 10
Understanding and Configuring VLANs

Configuring VLANs in VLAN Database Mode

When 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 file, not the running-config or startup-config files. To display the VLAN configuration, enter
the show running-config vlan command.
User-configurable VLANs have unique IDs from 1 to 4094. Database mode supports configuration of
IDs from 1 to 1001, but not the extended addresses from 1006 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
See the
are 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# vlan database
Step 2
Switch(vlan)# vlan vlan_ID
Step 3
Switch(vlan)# exit
Step 4
Switch# show vlan [id | name] vlan_name
This example shows how to create an Ethernet VLAN in VLAN database mode and verify the
configuration:
Switch# vlan database
Switch(vlan)# vlan 3
VLAN 3 added:
Switch(vlan)# exit
APPLY completed.
Exiting....
Switch# show vlan name VLAN0003
VLAN Name
---- -------------------------------- --------- ---------------------
3
VLAN Type
---- ----- ---------- ----- ------ ------ -------- ---- ------ ------
3
Switch#
OL-6696-01
To modify a VLAN, enter the vlan command for an existing VLAN.
.
"VLAN Default Configuration" section on page 10-4
Name: VLAN0003
VLAN0003
SAID
MTU
enet
100003
1500
Purpose
Enters VLAN database mode.
Adds an Ethernet VLAN.
You cannot delete the default VLANs for these media
Note
types: 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.
You can use the no keyword to delete a VLAN.
Returns to enable mode.
Verifies the VLAN configuration.
Status
Ports
active
Parent RingNo BridgeNo Stp
-
-
-
Software Configuration Guide—Release 12.2(25)EW
for a listing of the default parameters that
Trans1 Trans2
-
0
0
Configuring VLANs
10-7

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500 series

Table of Contents