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

2-508 Fabric OS Command Reference Manual
Publication Number: 53-1000240-01
portRegTest
2
Note: Enter commands in lowercase only; mixed case is for readability.
portRegTest
Reads and writes test of the ASIC SRAMs and registers.
Synopsis portregtest [--slot slotnumber][-ports itemlist][-skiptests mask][-verbose mode]
Description Use this command to verify that SRAM and register data bits in each ASIC can be independently written
and read.
The test method used is to write a walking 1 pattern to each bit location. This is done by writing a pattern
of 0x00000001 to register N. Read and ensure that the same pattern previously written is read back. Shift
the pattern to the left by 1 bit (to 0x00000002)and, repeat the write, read, and compare cycle. Shift again
and repeat until the last writable bit in register N is reached (0x80000000 for a 32-bit register).
For example, a 6-bit register is effectively tested with the following patterns:
0x0001 0x0002 0x0004 0x0008
0x0010 0x0020 0x0040 0x0080
0x0100 0x0200 0x0400 0x0800
0x1000 0x2000 0x4000 0x8000
Repeat these steps until all ASIC SRAMs and registers are tested.
N
ote
The command is supported only on SilkWorm 200E, 3250, 3850, 3900, 4100, 24000, and 48000
platforms; use turboRamTest instead.
N
ote
The execution of this command is subject to Admin Domain restrictions that may be in place.
Operands This command has the following operands:
--slot slotnumber Specify the slot number on which the diagnostic operates. The ports specified are
relative to this slot number. The default is 0.
-ports itemlist Specify a list of blade ports to test. By default, all the blade ports in the specified
slot are used. Refer to itemList for further details.
-skiptests mask A bit mask that defines which of the register test subtests to skip. By default, all
subtests are performed. Valid mask values include one or more of the following:
0x2 Skip retry register test.
0x4 Skip statistics register test.
0x8 Skip walk-1 test.
0x10 Skip credit counter test.
-verbose mode Specify a nonzero value to enable verbose mode. The default value is to disable
this mode.