Cisco Systems OL-6244-01 Switch User Manual


  Open as PDF
of 1438
 
2-175
Catalyst 6500 Series Switch Command Reference—Release 8.4
OL-6244-01
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands
clear vlan mapping
clear vlan mapping
To delete existing IEEE 802.1Q VLAN-to-ISL VLAN mappings or reserved-to-nonreserved VLAN
mapping, use the clear vlan mapping command.
clear vlan mapping dot1q {dot1q_vlan | all}
clear vlan mapping reserved {reserved_vlan | all}
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines When you clear a VLAN, all ports assigned to that VLAN become inactive. However, the VLAN port
assignments are retained until you move the ports to another VLAN. If the cleared VLAN is reactivated,
all ports that are still configured on that VLAN are also reactivated.
Examples This example shows how to clear an existing mapped VLAN from the dot1q mapping table:
Console> (enable) clear vlan mapping dot1q 444
Vlan Mapping 444 Deleted.
Console> (enable)
This example shows how to clear all mapped VLANs from the mapping table:
Console> (enable) clear vlan mapping dot1q all
All Vlan Mapping Deleted.
Console> (enable)
This example shows how to clear mapped reserved VLANs from the mapping table:
Console> (enable) clear vlan mapping reserved 1007
Vlan Mapping 1007 Deleted.
Console> (enable)
Related Commands set vlan
show vlan
dot1q dot1q_vlan Clears the IEEE 802.1Q VLAN-to-ISL VLAN mapping.
dot1q all Clears all IEEE 802.1Q VLAN-to-ISL VLAN mappings.
reserved
reserved_vlan
Clears the specified reserved-to-nonreserved VLAN mapping.
reserved all Clears all reserved-to-nonreserved VLAN mappings.