R3166-R3206-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101
82
For example, the user can set to output log information with severity higher than warning to the log host,
and information with severity higher than informational to the log buffer. The user can also set to output
trap information of the IP module to a specified output destination.
Note that:
• If you do not use the module-name argument to set output rules for a module, the module uses the
default output rules or the output rules set by the default keyword; otherwise the module uses the
output rules separately set for it.
• If you use the default keyword to set the output rules for all the modules without specifying the debug,
log, and trap keywords, the default output rules for the modules are used. For more information,
see Table 23.
• If y
ou use the module-name argument to set the output rules for a module without specifying the
debug, log, and trap keywords, the default output rules 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 snmp channel 5, the command is actually equal to the command info-center
source snmp channel 5 debug level debugging state off log level informational state on trap level
informational state on.
• If you repeatedly use the command to set the output rules for a module or for all the modules with
the default keyword, the last configured output rules take effect.
• After you separately set the output rules for a module, you must use the module-name argument to
modify or remove the rules. The new configuration by using the default keyword is invalid on the
module.
• You can configure to output the log, trap and debugging information to the trap buffer, but the trap
buffer only receives the trap information and discards the log and debugging information.
• You can configure to output the log, trap and debugging information to the log buffer, but the log
buffer only receives the log and debugging information and discards the trap information.
• You can configure to output the log, trap and debugging information to the SNMP module, but the
SNMP module only receives the trap information and discards the log and debugging information.
Table 23 Default output rules for different output destinations
Output
destinatio
n
Modules
allowed
LOG TRAP
DEBUG
Enabled/
disabled
Severity
Enabled/
disabled
Severity
Enabled/
disabled
Severity
Console
default (all
modules)
Enabled Warning Enabled Debug Enabled Debug
Monitor
terminal
default (all
modules)
Enabled Warning Enabled Debug Enabled Debug
Log host
default (all
modules)
Enabled
Informatio
nal
Enabled Debug Disabled Debug
Trap buffer
default (all
modules)
Disabled
Informatio
nal
Enabled Warning Disabled Debug
Log buffer
default (all
modules)
Enabled Warning Disabled Debug Disabled Debug
SNMP
module
default (all
modules)
Disabled Debug Enabled Warning Disabled Debug