3com S7906E Guida Di Riferimento
1-20
z
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.
z
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.
z
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.
z
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.
z
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-9 Default output rules for different output destinations
LOG
TRAP
DEBUG
Output
destinati
on
Modules
allowed
Enabled/
disabled
Severity
Enabled/
disabled
Severity
Enabled/
disabled
Severity
Console
default
(all
modules)
(all
modules)
Enabled warnings Enabled
debuggin
g
g
Enabled
debuggin
g
g
Monitor
terminal
terminal
default
(all
modules)
(all
modules)
Enabled warnings Enabled
debuggin
g
g
Enabled
debuggin
g
g
Log host
default
(all
modules)
(all
modules)
Enabled
informatio
nal
nal
Enabled
debuggin
g
g
Disabled
debuggin
g
g
Trap
buffer
buffer
default
(all
modules)
(all
modules)
Disabled
informatio
nal
nal
Enabled warnings Disabled
debuggin
g
g
Log buffer
default
(all
modules)
(all
modules)
Enabled warnings Disabled
debuggin
g
g
Disabled
debuggin
g
g
SNMP
module
module
default
(all
modules)
(all
modules)
Disabled
debuggin
g
g
Enabled warnings Disabled
debuggin
g
g
Log file
default
(all
modules)
(all
modules)
Enabled
debuggin
g
g
Enabled
debuggin
g
g
Disabled
debuggin
g
g
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; 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