Deleting An Isolated, Community, Or Two-Way Community Vlan; Deleting A Private Vlan Mapping - Cisco WS-C6506 Software Manual

Catalyst 6500 series switch
Hide thumbs Also See for WS-C6506:
Table of Contents

Advertisement

Chapter 11
Configuring VLANs

Deleting an Isolated, Community, or Two-Way Community VLAN

If you delete an isolated, community, or two-way community VLAN, the binding with the primary
VLAN is broken, any isolated, community, or two-way community ports that are associated to the VLAN
become inactive, and any related mappings on the promiscuous port(s) are deleted.
To delete a VLAN on the switch, perform this task in privileged mode:
Task
Delete an isolated or community VLAN.
This example shows how to delete community VLAN 902:
Console> (enable) clear vlan 902
This command will de-activate all ports on vlan 902
Do you want to continue(y/n) [n]?y
Vlan 902 deleted
Console> (enable)

Deleting a Private VLAN Mapping

If you delete the private VLAN mapping, the connectivity breaks between the isolated, community, or
two-way community ports and the promiscuous port. If you delete all the mappings on a promiscuous
port, the promiscuous port becomes inactive. When a private VLAN port is set to inactive, it displays
"pvlan-" as its VLAN number in the show port output.
You might set a private VLAN port to inactive for the following reasons:
To delete a port mapping from a private VLAN, perform this task in privileged mode:
Task
Delete the port mapping from the private VLAN. clear pvlan mapping primary_vlan {isolated |
This example shows how to delete the mapping of VLANs 902 to 901, previously set on ports 3/2
through 3/5:
Console> (enable) clear pvlan mapping 901 902 3/2-5
Successfully cleared mapping between 901 and 902 on 3/2-5
Console> (enable)
OL-8978-04
The primary, isolated, community, or two-way community VLAN to which it belongs is cleared.
All mappings from a non-MSFC promiscuous port are deleted.
An error occurs when you are configuring a port as a private VLAN port.
Command
clear vlan {isolated_vlan | community_vlan |
twoway_community_vlan}
Command
community | twoway-community} {mod/ports}
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
Configuring Private VLANs on the Switch
11-29

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6506Catalyst 6509Catalyst 6513

Table of Contents