90CHAPTER 6: DISPLAY AND DEBUGGING TOOLS

Set the direction of syslog outputting log information

As described before, Syslog of the 3Com Router 1.x can output various log information in four directions:

Output log information to local control console via Console port

Output log information to remote Telnet terminal or dumb terminal. This function is helpful to remote maintenance.

Allocate proper router buffer to record log information.

By configuring the log host, log information is directly sent by Syslog to the log host and then saved as file for later view.

Please enter the following commands in system view.

Figure 38 Set the direction of syslog output log information

Operation

Command

 

 

Enable to output log information to local control

info-center console

console

 

 

 

Disable to output log information to local control

undo info-center console

console

 

 

 

Enable to output log information to the terminal

info-center monitor

 

 

Disable to output log information to the terminal

undo info-center monitor

 

 

Enable to output log information to internal

info-center logbuffer

buffer

 

 

 

Disable to output log information to internal

undo info-center logbuffer

buffer

 

 

 

Define the size of internal buffer of output log

info-center logbuffer size

information

 

 

 

Enable to output log information to the log host

info-center loghost

 

 

Disable to output log information to the log host

undo info-center loghost

 

 

Change the language mode (Chinese English) of

info-center { console monitor

output log information

logbuffer loghost} {

 

chinese english }

 

 

Here, Console and Monitor stand for default output directions.

The setting of output direction of the log information will be effective only if

Syslog is turned on.

The settings of the output log information in four directions are independent. The shutdown of an output in any direction will not affect the output in other directions.

When there are multiple telnet users or dumb terminal users simultaneously, various users share the same configuration parameters, which include the filtering setting based on the module, Chinese/English selection and severity threshold. When a user changes the values of these parameters, other user terminals will also be affected. At this time, the undo info-center monitor command can only turn off the log information output on the respective terminal. Therefore, to turn off the log information outputs of all telnet terminals and dumb terminals, please use the undo info-center monitor all command.

Page 94
Image 94
3Com 10014299 manual Set the direction of syslog outputting log information