Maintaining and Debugging the System 263
Use the following commands to define the filtering rules of the channels.
Perform the following operation in system view.
modu-name: specifies the module name.
level : refers to the severity levels.
severity: specifies the severity level of information. The information with the
level below it will not be output.
channel-number: specifies the channel number.
channel-name: specifies the channel name.
Every channel has been set with a default record, whose module name is default
and the module n umber is 0xffff0000. However, for different channels, the default
record may have different default settings of log, trap and debugging. When there
is no specific configuration record for a module in the channel, use the default
one.
When there is more than one Telnet user or monitor user at the same time, some
configuration parameters are shared among the users, such as module-based
filtering settings and the severity threshold. When you modify these settings, the
changes affect all users.
Configuring the SNMP Timestamp Output Format
Perform the following operation in system view.
5 Warnings Warning, there might be an error
6 Notifications The information should be read
7 Informational Common prompting information
8 Debugging Helpful information for debugging
Tabl e 295 Define the Filtering Rules of the Channels
Operation Command
Add the filtering record about a certain type
of information in a module to the information
channel
info-center source { modu-name |
default } channel { channel-number
| channel-name } [ { log | trap |
debug } * { level severity | state
state ] } *
Delete the filtering record about a certain type
of information in a module or all the modules
from the channel
undo info-center source {
modu-name | default } channel {
channel-number | channel-name }
Tabl e 296 Configuring the SNMP Timestamp Output Format
Operation Command
Configure the SNMP Timestamp Output
Format
info-center timestamp { log |
trap | debugging } { boot | date
| none }
Disable the output of the timestamp field undo info-center timestamp { log
| trap | debugging }
Table 294 Syslog-Defined Severity
Severity Description