Configuring VLANs
This example shows how to verify the configuration:
Router# show vlan name VLAN0003
VLAN Name
---- -------------------------------- --------- ---------------------
3
VLAN Type
---- ----- ---------- ----- ------ ------ -------- ---- ------ ------
3
Router#
Assigning a Layer 2 LAN Interface to a VLAN
A VLAN created in a management domain remains unused until you assign one or more LAN ports to
the VLAN.
Make sure you assign LAN ports to a VLAN of the appropriate type. Assign Ethernet ports to
Note
Ethernet-type VLANs.
To assign one or more LAN ports to a VLAN, complete the procedures in the
Interfaces for Layer 2 Switching" section on page
Configuring the Internal VLAN Allocation Policy
Internal VLAN allocation policy is supported in Release 12.1(13)E and later releases. For more
information about VLAN allocation, see the
The internal VLAN allocation policy is applied only following a reload.
Note
To configure the internal VLAN allocation policy, perform this task:
Command
Step 1
Router(config)# vlan internal allocation policy
{ascending | descending}
Router(config)# no vlan internal allocation
policy
Step 2
Router(config)# end
Step 3
Router# reload
When you configure the internal VLAN allocation policy, note the following syntax information:
•
•
Cisco 7600 Series Router Cisco IOS Software Configuration Guide—12.1E
9-12
VLAN0003
SAID
MTU
enet
100003
1500
Enter the ascending keyword to allocate internal VLANs from 1006 and up.
Enter the descending keyword to allocate internal VLAN from 4094 and down.
Status
Ports
active
Parent RingNo BridgeNo Stp
-
-
-
7-7.
"VLAN Ranges" section on page
Purpose
Configures the internal VLAN allocation policy.
Returns to the default (ascending).
Exits configuration mode.
Applies the new internal VLAN allocation policy.
You do not need to enter the reload command
Caution
immediately. Enter the reload command
during a planned maintenance window.
Chapter 9
Trans1 Trans2
-
0
0
"Configuring LAN
9-2.
Configuring VLANs
78-14064-04