HP StorageWorks Fabric OS 5.0.0 Command Reference Guide (AA-RW1MA-TE, May 2005)

Fabric OS 5.0.0 command reference guide 71
Verifies QuickLoop's Content Addressable Memory (CAM) SID translation.
Synopsis
camtest [--slot slotnumber][-passcnt count][-txport itemlist]
Availability
admin
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.
NOTE: This command cannot be executed on an enabled switch. You must first disable the switch using
the switchDisable command.
Operands
This command has the following operand:
camTest
--slot slotnumber Specifies 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 Specifies the number of times to perform this test. The default
value is 1.
-txport itemlist Specifies 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.