Brocade OS Command Reference Manual Supporting Fabric OS v6.0.0 (53-1000599-01, October 2007)

102 Fabric OS Command Reference
53-1000599-01
diagEnv
2
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.
Notes This command is ignored on newer platforms such as the FR4-18i, FA4-18, FC10-6, Brocade 7500,
4900, and AP 7600. The command is allowed to run on these platforms to maintain consistency
across mixed blade environments, but it does not affect the operations of the switch.
Your use of the functionality made available through this package at your sole risk and you assume
all liability resulting from such use.The effects of diagnostic parameters may change without
notice.
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.
Examples To display the values of the diagnostic parameters:
switch:admin> diagshowusr
Name Environment Value
USR_DILATION DIAG_USR_DLY_DILATION 1
USR_MEMDLY DIAG_USR_MEMDLY 10