Q-Logic 5802V Manuel D’Utilisation

Page de 412
14 – Command Reference
Test Switch
59263-01  A
14-199
A
Notes
 describes the switch test parameters.
To cancel a switch test in progress, enter the 
 Switch command.
To display the status of a recent switch test or switch test in progress, enter the 
 Switch command.
Examples
The following example performs an offline internal test on a switch:
SANbox #> admin start
SANbox (admin) #>set switch state diagnostics
SANbox (admin) #> test switch offline internal
A list of attributes with formatting and current values will follow. Enter a new 
value or simply press the ENTER key to accept the default value. If you wish to 
terminate this process before reaching the end of the list press 'q' or 'Q' and the 
ENTER key to do so.
LoopCount     (decimal value, 1-4294967295)   [100    ]
FrameSize     (decimal value, 40-2148)        [256    ]
DataPattern   (32-bit hex value or 'Default') [Default]
StopOnError   (True / False)                  [True   ]
LoopForever   (True / False)                  [False  ]
Do you want to start the test? (y/n) [n] y
Table 14-45. Switch Test Parameters
Parameter
Description
LoopCount
Number of frames sent: 1–4294967295. 
The default is 100.
FrameSize
Number of bytes in each test frame: 
40–2148. The default is 256.
DataPattern
32-bit hexadecimal test value, or default, 
which defines random data
StopOnError
Stops the test when an error occurs (True). 
Otherwise, the test continues to comple-
tion.
LoopForever
Restarts the test after completion and con-
tinues until you cancel it (True). Otherwise, 
the test ends normally after completion.