H3C S3100 Series Command Manual page 915

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

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 1-4 Default output rules for different output destinations
Output
destinatio
n
default (all
Console
modules)
Monitor
default (all
terminal
modules)
default (all
Log host
modules)
default (all
Trap buffer
modules)
default (all
Log buffer
modules)
SNMP
default (all
module
modules)
default (all
Log file
modules)
Examples
# Set the output channel for the log information of VLAN module to snmpagent and to output
information with severity being emergencies. Log information of other modules cannot 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
# Set the output channel for the log information of VLAN module to snmpagent and to output
information with severity being emergencies. Log information of other modules and 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
[Sysname] info-center source vlan channel snmpagent log level emergencies state on
LOG
Modules
allowed
Enabled/
disabled
Enabled
Enabled
Enabled
Disabled
Enabled
Disabled
Enabled
TRAP
Enabled/
Severity
disabled
warnings
Enabled
warnings
Enabled
information
Enabled
al
information
Enabled
al
warnings
Disabled
debugging
Enabled
debugging
Enabled
1-12
DEBUG
Enabled/
Severity
disabled
debugging
Enabled
debugging
Enabled
debugging
Disabled
warnings
Disabled
debugging
Disabled
warnings
Disabled
debugging
Disabled
Severity
debugging
debugging
debugging
debugging
debugging
debugging
debugging

Advertisement

Table of Contents
loading

Table of Contents