R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101
105
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 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 rule for a module or for all the modules, the last
output rule takes effect
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 25 Default output rules for different output destinations
Output
destination
Modules
allowed
LOG
TRAP
DEBUG
Enabled/
disabled
Severity
Enabled/
disabled
Severity
Enabled/
disabled
Severity
Console
default (all
modules)
Enabled
Informati
onal
Enabled Debug Enabled Debug
Monitor
terminal
default (all
modules)
Enabled
Informati
onal
Enabled Debug Enabled Debug
Log host
default (all
modules)
Enabled
Informati
onal
Enabled Debug Disabled Debug
Trap buffer
default (all
modules)
Disabled
Informati
onal
Enabled
Informati
onal
Disabled Debug
Log buffer
default (all
modules)
Enabled
Informati
onal
Disabled Debug Disabled Debug
SNMP
module
default (all
modules)
Disabled Debug Enabled
Informati
onal
Disabled Debug
Log file
default (all
modules)
Enabled Debug Enabled Debug Disabled Debug
Examples
# Output VLAN module's log information with a severity level of at least emergency to the snmpagent
channel. Log information of other modules cannot be output to this channel; other types of information of
this module may or may not be output to this channel.
<Sysname> system-view
[Sysname] info-center source default channel snmpagent log state off
[Sysname] info-center source vlan channel snmpagent log level emergencies state on
# Output VLAN module's log information with a severity level of at least emergency to channel
snmpagent. All the other system information cannot be output to this channel.
<Sysname> system-view
[Sysname] info-center source default channel snmpagent debug state off log state off trap
state off