3com S7906E Guide De Référence

Page de 2327
 
1-20 
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 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) 
Enabled warnings Enabled 
debuggin
Enabled 
debuggin
Monitor 
terminal 
default 
(all 
modules) 
Enabled warnings Enabled 
debuggin
Enabled 
debuggin
Log host 
default 
(all 
modules) 
Enabled 
informatio
nal 
Enabled 
debuggin
Disabled 
debuggin
Trap 
buffer 
default 
(all 
modules) 
Disabled 
informatio
nal 
Enabled warnings Disabled 
debuggin
Log buffer 
default 
(all 
modules) 
Enabled warnings Disabled 
debuggin
Disabled 
debuggin
SNMP 
module 
default 
(all 
modules) 
Disabled 
debuggin
Enabled warnings Disabled 
debuggin
Log file 
default 
(all 
modules) 
Enabled 
debuggin
Enabled 
debuggin
Disabled 
debuggin
 
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