11-13
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 11 Configuring VLANs
Deleting a VLAN
Deleting a VLAN
Follow these guidelines for deleting 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.
•
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 assigned to that VLAN become inactive. Such ports remain
associated with the VLAN (and thus 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]?
Configuring Private VLANs
These sections describe how private VLANs work:
•
Understanding How Private VLANs Work, page 11-14
•
Private VLAN Configuration Guidelines, page 11-15
•
Creating a Primary Private VLAN, page 11-18
•
Viewing the Port Capability of a Private VLAN Port, page 11-21
•
Deleting a Private VLAN, page 11-22
•
Deleting an Isolated, Community, or Two-Way Community VLAN, page 11-22
•
Deleting a Private VLAN Mapping, page 11-23
•
Private VLAN Support on the MSFC, page 11-23
Task
Command
Delete a VLAN.
clear vlan
vlan