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

Fabric OS Command Reference Manual 2-599
Publication Number: 53-1000240-01
setDbg
2
Note: Enter commands in lowercase only; mixed case is for readability.
setDbg
Sets debug level of the specified module.
Synopsis setdbg [module_name][level]
Description Use this command to set the debug level of a specified module. Debug levels filter the display of debug
messages to the serial console. By default, no debug messages are displayed.
N
ote
High debug level values can generate a large volume of messages, degrading the system response time.
The set of supported modules and their current debug levels are displayed by the command dbgShow.
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:
module_name Specify the name of the module for which you want to view the debug and
verbosity levels. Module names are case sensitive. This operand is optional; if
omitted, this command displays the debug and verbose level for all modules.
level Specify the debug level for the specified module (0 to 9). A 0 value (default)
specifies that no messages are to display. Higher values cause more messages
from that module to display. This operand is optional, if omitted, this command
displays the current debug and verbose level of the specified module.
Examples To set debug level of module named NS to value 3:
See Also dbgShow
switch:admin> setdbg NS 3
switch:admin> dbgshow NS
Module NS, debug level = 3, verbose level = 0