Brocade Fabric OS Command Reference Manual - Supporting Fabric OS v5.3.0 (53-1000436-01, June 2007)

Fabric OS Command Reference Manual 57
53-1000436-01
camTest
2
camTest
Verifies QuickLoop's Content Addressable Memory (CAM) SID translation.
Synopsis camtest [--slot slotnumber][-passcnt count][-txport itemlist]
Description Use this command to verify that the CAM is functionally OK by performing hit and miss tests. The
CAM is used by QuickLoop to translate the SID.
When a CAM is presented with a data, it checks if the data is present in its memory. A hit means
the data is found in the CAM. A miss means the data is not found.
In this test, the CAM is filled with four kinds of data patterns:
a walking 1,
a walking 0,
a random pattern,
an inverted version of the random pattern above.
Once filled with each of the patterns above, a frame is sent and looped back internally. If a hit is
expected (when the random or inverted random pattern is used) the original SID in the frame
transmitted is received translated with the domain and area fields of the SID zeroed. If a miss is
expected (when the walking 1 or walking 0 pattern is used) the original SID in the frame
transmitted is received unchanged.
This command cannot be executed on an enabled switch. You must first disable the switch using
the switchDisable command.
This command is supported only on the Brocade 3250, 3850, 3900, and 24000 platforms.
The execution of this command is subject to Admin Domain restrictions that may be in place.
Operands This command has the following operand:
--slot slotnumber Specify the slot number on which the diagnostic will operate. The ports
specified will be relative to this slot number. The default is set to 0 and
designed to operate on fixed-port-count products.
-passcnt count Specify the number of times to perform this test. The default value is 1.
-txport itemlist Specify a list of blade ports to test. By default, all the blade ports in the
specified slot (--slot) will be used. Refer to itemList for more information.
Examples To verify CAM is functioning correctly:
switch:admin> camtest -txports 1/1
Running camtest ..............
Test Complete: camtest Pass 1 of 1
Duration 0 hr, 0 min & 7 sec (0:0:7:57).
passed.
Diagnostics When failures are detected, the subtest might report one or more of the following error messages:
DIAG-CAMFLTR
DIAG-CAMINIT
DIAG-CAMSID
DIAG-CAMSTAT
DIAG-CANTXMIT