2-16
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
clear cam
clear cam
To delete a specific entry or all entries from the CAM table, use the clear cam command.
clear cam mac_addr [vlan]
clear cam {dynamic | static | permanent} [vlan]
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Examples This example shows how to remove MAC address 00-40-0b-a0-03-fa from the CAM t able:
Console> (enable) clear cam 00-40-0b-a0-03-fa
CAM table entry cleared.
Console> (enable)
This example shows how to clear dynamic entries from the CAM table:
Console> (enable) clear cam dynamic
Dynamic CAM entries cleared.
Console> (enable)
Related Commands set cam
show cam
mac_addr One or more MAC addresses.
vlan (Optional) Number of the VLAN; valid values are from 1 to 4094.
dynamic Clears the dynamic CAM entries from the CAM table.
static Clears the static CAM entries from the CAM table.
permanent Clears the permanent CAM entries from the CAM table.