Deleting An Isolated Or Community Vlan; Deleting A Private Vlan Mapping - Cisco WS-C4003 - Catalyst 4000 Chassis Switch Software Configuration Manual

Software guide
Table of Contents

Advertisement

Configuring Private VLANs
This example shows how to delete primary VLAN 7:
Console> (enable) clear vlan 7
This command will de-activate all ports on vlan 7
Do you want to continue(y/n) [n]?y
Vlan 7 deleted
Console> (enable)

Deleting an Isolated or Community VLAN

If you delete an isolated or community VLAN, the binding with the primary VLAN is broken, any
isolated or community ports 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 the 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 or 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.
A private VLAN port might be set 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 VLAN 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)
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
10-14
The primary, isolated, or community VLAN to which it belongs is cleared.
An error occurs during the configuration of a port to be a private VLAN port.
Chapter 10
Command
clear vlan {isolated_vlan_num |
community_vlan_num}
Command
community} {mod/ports}
Configuring VLANs
78-12647-02

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 4000 seriesCatalyst 2948gCatalyst 2980g

Table of Contents