R3303-HP HSR6800 Routers Network Management and Monitoring Command Reference
220
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 Table 50
for more information
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 50 Default output rules
Output
destinatio
n
Source
modules
Lo
g
Tra
p
Debu
g
Enabled/
disabled
Severity
Enabled/
disabled
Severity
Enabled/
disabled
Severity
Console
All
supported
modules
Enabled
Informatio
nal
Enabled Debug Enabled Debug
Monitor
terminal
All
supported
modules
Enabled
Informatio
nal
Enabled Debug Enabled Debug
Log host
All
supported
modules
Enabled
Informatio
nal
Enabled Debug Disabled Debug
Trap buffer
All
supported
modules
Disabled
Informatio
nal
Enabled
Informatio
nal
Disabled Debug
Log buffer
All
supported
modules
Enabled
Informatio
nal
Disabled Debug Disabled Debug
SNMP
module
All
supported
modules
Disabled Debug Enabled
Informatio
nal
Disabled Debug