H3C SR6600 Command Reference Manual page 230

Network management and monitoring command reference
Hide thumbs Also See for SR6600:
Table of Contents

Advertisement

Views
System view
Default command level
2: System level
Parameters
module-name: Specifies a module. For instance, to output ARP information, specify this argument as ARP.
You can use the info-center source ? command to view the modules supported by the device.
default: Specifies all the modules, which can be displayed by using the info-center source ? command.
debug: Specifies debug information.
log: Specifies log information.
trap: Specifies trap information.
level severity: Specifies a severity level. For more information, see
state state: Specifies whether to output the specified system information, on (enabled) or off (disabled).
channel-number: Specifies a channel by its number in the range of 0 to 9.
channel-name: Specifies a channel by its name, a default name or a self-defined name. For information
about configuring a channel name, see info-center channel name.
Usage guidelines
This command sets an output rule for a specified module or all modules. For example, you can output IP
log information with a severity higher than warning to the log host, and output IP log information with a
severity higher than informational to the log buffer.
If you do not set an output rule for a module, the module uses the default output rule or the output rule set
by using the default keyword.
If you use the default keyword to set an output rule for all the modules without specifying the debug, log,
and trap keywords, the default output rules for the modules are used. See
about default output rules.
If you use the module-name argument to set the output rule for a module without specifying the debug,
log, and trap keywords, the default settings for the module are as follows: the output of log and trap
information is enabled, with severity being informational; the output of debugging information is
disabled, with severity being debug. For example, if you execute the command info-center source cmd
channel 0, the command is actually equal to the command info-center source cmd channel 0 debug level
debugging state off log level informational state on trap level informational state on.
If you use the command multiple times, only the most recent output rule takes effect for the specified
module.
After you set an output rule for a module, you must use the module-name argument to modify or remove
the rule. A new output rule configured by using the default keyword does not take effect for the module.
The trap buffer only receives trap information and discards log and debug information.
The log buffer only receives log and debug information and discards trap information.
The SNMP module only receives trap information and discards log and debug information.
Table
222
45.
Table 50
for more information

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sr6600-x

Table of Contents