Chapter 9
Configuring VLANs
Command
Step 3
Router(config-vlan)# end
or
Router(vlan)# exit
Step 4
Router# show vlan [id | name] vlan
When you create or modify an Ethernet VLAN, note the following syntax information:
•
•
•
•
•
•
When deleting VLANs, note the following syntax information:
•
•
This example shows how to create an Ethernet VLAN in global configuration mode and verify the
configuration:
Router# configure terminal
Router(config)# vlan 3
Router(config-vlan)# end
Router# show vlan id 3
VLAN Name
---- -------------------------------- --------- -------------------------------
3
VLAN Type
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
3
Primary Secondary Type
------- --------- ----------------- ------------------------------------------
This example shows how to create an Ethernet VLAN in VLAN database mode:
Router# vlan database
Router(vlan)# vlan 3
VLAN 3 added:
Router(vlan)# exit
APPLY completed.
Exiting....
78-14064-04
Releases 12.1(11b)E and later support VLAN configuration in global configuration mode.
Releases 12.1(13)E and later support extended-range VLANs.
RPR+ redundancy does not support a configuration entered in VLAN database mode. Use global
configuration mode with RPR+ redundancy.
Because Layer 3 ports and some software features require internal VLANs allocated from 1006 and
up, configure extended-range VLANs starting with 4094.
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 router displays a
message and does not modify the VLAN configuration.
You cannot delete the default VLANs for the different media types: Ethernet VLAN 1 and FDDI or
Token Ring VLANs 1002 to 1005.
When you delete a VLAN, any LAN ports configured as access ports assigned to that VLAN become
inactive. The ports remain associated with the VLAN (and inactive) until you assign them to a new
VLAN.
VLAN0003
SAID
MTU
enet
100003
1500
Name: VLAN0003
Purpose
Updates the VLAN database and returns to privileged
EXEC mode.
Verifies the VLAN configuration.
Status
Ports
active
Parent RingNo BridgeNo Stp
-
-
-
Interfaces
Cisco 7600 Series Router Cisco IOS Software Configuration Guide—12.1E
BrdgMode Trans1 Trans2
-
-
0
0
Configuring VLANs
9-11