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

Fabric OS Command Reference Manual 2-121
Publication Number: 53-1000240-01
diagEnv
2
Note: Enter commands in lowercase only; mixed case is for readability.
diagEnv
Diagnostic debug parameters management package.
Synopsis diagsetdebug value
diagdebughelp
diagsetdebugnoncheck value
diagsetdebugnorestore value
diagsetfaillimit value
diagsetfrcerr value
diagshowusr
... more commands ...
Description All of diagnostic parameters can be set either by running relevant user commands or by setting them
directly in some way. The latter method is supposed to be run only by in-house technicians but users.
Diagnostic parameters are used primarily for debugging purposes and users should not tamper with those
if not told so.
To display the values of diagnostic parameters, run diagshowusr as in the “Examples” section. For a
complete list of the diagEnv commands, use diagdebughelp.
Each of these commands is an alias that evaluates the output of diagenv to set the diagnostic parameter
for the current shell. For example the following alias is created to implement diagsetdebug.
function diagsetdebug () { eval `diagenv write USR_DEBUG $*` }
These aliases are created by diagEnv as well, by including the following command in the shell start-up
script:
eval `diagenv alias`
For proper operation, the output diagEnv sends to stdout should be processed by the eval command to
set the appropriate variables.
C
aution
Your use of the functionality made available through this package is at your sole risk and you assume all
liability resulting from such use.
N
ote
The effects of diagnostic parameters might be changed without notice.
You can issue this command on the FR4-18i blade in a SilkWorm chassis; however, the command is not
supported by the SilkWorm platform and does not effect any other feature operations. This availability
is offered to maintain consistency across a mixed-blade environment.
N
ote
The execution of this command is subject to Admin Domain restrictions that may be in place.
Operands The operand is as follows:
value Specify the value for the relevant diagnostic environment variable.