Viewing CAM Information
Page 9-24

Viewing CAM Information

The camstat command displays information and usage about the content addressable memory
(CAM) on each switching module in the chassis. To view this CAM information, enter
camstat
at the system prompt. Something similar to the following will be displayed.
Slot # of CAMs Cfg Usage Max Avail Actual Usage
------ --------------- ---------------------- --------------------- -----------------------
MPM 1 NA NA NA
2 4 (2 + 2) 0 3966 0
3 1 (1 + 0) 0 1008 0
4 1 (1 + 0) 0 1004 0
5 4 (2 + 2) 0 4093 0
The fields displayed by the camstat command are described below.
Slot. The slot number of the switching module for which CAM information is provided.
# of CAMs. The number of CAM chips installed on the switching module.
Cfg Usage. The number of CAM entries this module is configured to support. By default a
module will use the maximum amount of entries supported by on-board CAM. However, you
can alter this default through the camcfg command (described in Configuring CAM Distribu-
tion on page 9-25) to make the most efficient use of the CAM distributed among all switching
modules in the chassis. Up to 31.25 K of CAM is supported over all modules in an Omni
Switch/Router.
Max Avail. The number of CAM entries available. This number will be less than the number of
CAM entries configured because some entries will be used by learned MAC addresses (shown
in the Actual Usage column) and others are used internally by the OmniSwitch.
Actual Usage. The number of MAC addresses learned by the module in this slot.
Note
For CAM statistics for an entire chassis, use the hdstat
command, which is described in Chapter 11, “Health
Statistics.”