11-13
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 11 Configuring VLANs
Deleting a VLAN
This example shows how to add port 3/17 to VLAN 150 with VLAN port-provisioning verification
enabled:
Console> (enable)
set vlan 150 name Eng
VTP advertisements transmitting temporarily stopped,
and will resume after the command finishes.
Vlan 150 configuration successful
Console> (enable)
Console> (enable)
set vlan 150 3/17 Eng
VLAN 150 modified.
VLAN 1 modified.
VLAN Mod/Ports
---- -----------------------
150 3/16-17
Console> (enable)
Deleting a VLAN
This section describes the guidelines for deleting the VLANs:
•
When you delete a normal-range Ethernet VLAN in VTP server mode, the VLAN is removed from
all switches in the VTP domain.
•
When you delete a normal-range VLAN in VTP transparent mode, the VLAN is deleted only on the
current switch.
•
You can delete an extended-range VLAN only on the switch where it was created.
•
You cannot delete the default VLANs.
•
To delete a Token Ring TrBRF VLAN, you must first reassign its child TrCRFs to another parent
TrBRF, or delete the child TrCRFs.
Caution
When you delete a VLAN, any ports that are assigned to that VLAN become inactive. Such ports remain
associated with the VLAN (and are inactive) until you assign them to a new VLAN.
You can delete a single VLAN or a range of VLANs. To delete a VLAN on the switch, perform this task
in privileged mode:
This example shows how to delete a VLAN (in this case, the switch is a VTP server):
Console> (enable)
clear vlan 500
This command will deactivate all ports on vlan(s) 500
Do you want to continue(y/n) [n]?
y
Vlan 500 deleted
Console> (enable)
This command will deactivate all ports on vlan(s) 10
All ports on normal range vlan(s) 10
will be deactivated in the entire management domain.
Do you want to continue(y/n) [n]?
Task
Command
Delete a VLAN.
clear vlan
vlan