beautypg.com

Setdbg – Brocade Fabric OS Command Reference (Supporting Fabric OS v7.3.0) User Manual

Page 1070

background image

1040

Fabric OS Command Reference

53-1003131-01

setDbg

2

setDbg

Sets the 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.

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.

NOTES

The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may be in
place. Refer to Chapter 1, "Using Fabric OS Commands" and Appendix A, "Command Availability" for
details.

OPERANDS

This command has the following operands:

module_name

Specify the name of the module for which you want to set the debug levels.
Module names are case-sensitive. If this operand is omitted an error message is
displayed.

level

Specify the debug level for the specified module (0 to 9). A zero (0) value (default)
specifies that no messages are to display. Higher values cause more messages
from that module to display. If this operand is omitted an error message is
displayed.

EXAMPLES

To set the debug level for a module named NS to value 3:

switch:admin> setdbg NS 3

switch:admin> dbgshow NS

Module NS, debug level = 3, verbose level = 0

SEE ALSO

dbgShow