Chapter 11
Configuring VLANs
To return an interface to its default configuration, use the default interface interface-id interface
configuration command.
This example shows how to configure a port as an access port in VLAN 2:
Switch# configure terminal
Enter configuration commands, one per line.
Switch(config)# interface fastethernet0/1
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 2
Switch(config-if)# end
Creating an Extended-Range VLAN with an Internal VLAN ID
If you enter an extended-range VLAN ID that is already assigned to an internal VLAN, an error message
appears, and the extended-range VLAN is rejected. To manually release an internal VLAN ID, you must
temporarily shut down the routed port that is using the internal VLAN ID.
Beginning in privileged EXEC mode, follow these steps to release a VLAN ID that is assigned to an
internal VLAN and to create an extended-range VLAN with that ID:
Command
Step 1
show vlan internal usage
Step 2
configure terminal
Step 3
interface interface-id
Step 4
shutdown
Step 5
exit
Step 6
vlan vlan-id
Step 7
exit
Step 8
interface interface-id
Step 9
no shutdown
Step 10
end
Step 11
copy running-config startup config
78-17058-01
End with CNTL/Z.
Purpose
Display the VLAN IDs being used internally by the switch. If the VLAN
ID that you want to use is an internal VLAN, the display shows the routed
port that is using the VLAN ID. Enter that port number in Step 3.
Enter global configuration mode.
Specify the interface ID for the routed port that is using the VLAN ID,
and enter interface configuration mode.
Shut down the port to release the internal VLAN ID.
Return to global configuration mode.
Enter the new extended-range VLAN ID, and enter config-vlan mode.
Exit from config-vlan mode, and return to global configuration mode.
Specify the interface ID for the routed port that you shut down in Step 4,
and enter interface configuration mode.
Re-enable the routed port. It will be assigned a new internal VLAN ID.
Return to privileged EXEC mode.
(Optional) Save your entries in the switch startup configuration file.
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
Creating and Modifying VLANs
11-11