beautypg.com

Outputting logs to the monitor terminal – H3C Technologies H3C MSR 5600 User Manual

Page 219

background image

206

Step Command

Remarks

3.

Configure an output rule for
the console.

info-center source { module-name |
default } { console | monitor |
logbuffer | logfile | loghost }

{ deny | level severity }

For information about default
output rules, see "

Default output

rules for common logs

."

4.

(Optional.) Configure the

timestamp format.

info-center timestamp { boot | date
| none }

By default, the timestamp format is
date.

5.

Return to user view.

quit

N/A

6.

Enable log output to the

console.

terminal monitor

The default setting is enabled.

7.

(Optional.) Enable the display

of debug information on the
current terminal.

terminal debugging

By default, the display of debug
information is disabled both on the

console and the monitor terminal.

8.

(Optional.) Set the lowest
severity level of logs that can

be output to the console.

terminal logging level severity

The default setting is 6
(Informational).

Outputting logs to the monitor terminal

Monitor terminals refer to terminals that log in to the device through the AUX, VTY, or TTY user interface.
To output logs to the monitor terminal:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable the information center. info-center enable

By default, the information center is
enabled.

3.

Configure an output rule for
the monitor terminal.

info-center source { module-name |
default } { console | monitor |

logbuffer | logfile | loghost }
{ deny | level severity }

For information about default
output rules, see "

Default output

rules for common logs

."

4.

(Optional.) Configure the
timestamp format.

info-center timestamp { boot | date
| none }

By default, the timestamp format is
date.

5.

Return to user view.

quit

N/A

6.

Enable log output to the
monitor terminal.

terminal monitor

The default setting is enabled.

7.

(Optional.) Enable the display

of debug information on the
current terminal.

terminal debugging

By default, the display of debug
information is disabled both on the

console and the monitor terminal.

8.

(Optional.) Set the lowest level
of logs that can be output to

the monitor terminal.

terminal logging level severity

The default setting is 6
(Informational).

This manual is related to the following products: