2-101
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands clear port vlan-mapping
clear port vlan-mapping
To clear the VLAN mapping on a per-port basis, use the clear port vlan-mapping command.
clear port vlan-mapping {all | mod/port {source_vlan_id | all}}
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines On some modules, VLAN mapping is supported on a per-ASIC basis; the mapping is not stored on a
per-port basis. For these modules, entering clear port vlan-mapping mod/port clears the VLAN
mapping on all ports on the ASIC.
When you enter a source_vlan_id argument, only the VLAN mapping for that sour ce V L AN is cle ared
from the VLAN mapping table of the specified port or ASI C ( i f th e port is an A SIC- bas ed port ).
Examples This example shows how to clear the VLAN mapping for a spec ified por t:
Console> (enable) clear port vlan-mapping 7/1 2002
VLAN mapping for VLAN 2002 removed from port 7/1-12.
Console> (enable)
Related Commands set port v lan-mapping
show port vlan-mapping
all Clears VLAN mappings for all ports.
mod/port Number of the module and the port on the module.
source_vlan_id Number of the source VLAN; valid values are from 1 to 4094.
all Clears VLAN mappings for the specified port.