Brocade Fabric OS Command Reference Manual (53-1000240-01, November 2006)

2-50 Fabric OS Command Reference Manual
Publication Number: 53-1000240-01
camTest
2
Note: Enter commands in lowercase only; mixed case is for readability.
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:
1. a walking 1,
2. a walking 0,
3. a random pattern,
4. 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.
N
ote
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 SilkWorm 3250, 3850, 3900, and 24000 platforms.
N
ote
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.