2-13
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-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 tab le:
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 se t cam
show cam
mac_addr One or more MAC addresses.
vlan (Optional) Number of the VLAN; valid values are from 1 to 1000 and from
1025 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.