Maintaining and Debugging the System 263

Table 294 Syslog-Defined Severity

 

 

 

Severity

Description

 

 

 

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

 

 

 

Use the following commands to define the filtering rules of the channels.

Perform the following operation in system view.

Table 295 Define the Filtering Rules of the Channels

Operation

Command

 

 

Add the filtering record about a certain type

info-center source { modu-name

of information in a module to the information

default } channel { channel-number

channel

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 }

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 number 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.

Table 296 Configuring the SNMP Timestamp Output Format

Operation

Command

 

 

Configure the SNMP Timestamp Output

info-center timestamp { log

Format

trap debugging } { boot date

 

none }

Disable the output of the timestamp field

undo info-center timestamp { log

 

trap debugging }

 

 

Page 263
Image 263
3Com 10014298 manual Configuring the Snmp Timestamp Output Format, Define the Filtering Rules of the Channels