Cisco WS-C4003 Software Guide - Page 176
Deleting an Isolated or Community VLAN, Deleting a Private VLAN Mapping
View all Cisco WS-C4003 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 176 highlights
Configuring Private VLANs Chapter 10 Configuring 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. Command clear vlan {isolated_vlan_num | community_vlan_num} 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: • 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. To delete a port mapping from a private VLAN, perform this task in privileged mode: Task Command Delete the port mapping from the private VLAN. clear pvlan mapping primary_vlan {isolated | community} {mod/ports} 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) 10-14 Software Configuration Guide-Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4 78-12647-02