EasyManua.ls Logo

Cisco WS-C6506 - Deleting an Isolated, Community, or Two-Way Community VLAN; Deleting a Private VLAN Mapping

Cisco WS-C6506
1488 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
11-29
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 11 Configuring VLANs
Configuring Private VLANs on the Switch
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:
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:
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.
To delete a port mapping from a private VLAN, perform this task in privileged mode:
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)
Task Command
Delete an isolated or community VLAN. clear vlan {isolated_vlan | community_vlan |
twoway_community_vlan}
Task Command
Delete the port mapping from the private VLAN. clear pvlan mapping primary_vlan {isolated |
community | twoway-community} {mod/ports}

Table of Contents

Related product manuals