Download Print this page

Advertisement

Outputting logs to the console

Step
1.
Enter system view.
2.
Enable the information center.
3.
Configure an output rule for
the console.
4.
(Optional.) Configure the
timestamp format.
5.
Return to user view.
6.
Enable log output to the
console.
7.
Enable the display of debug
information on the current
terminal.
8.
(Optional.) Set the lowest
severity level of logs that can
be output to the console.
Outputting logs to the monitor terminal
Monitor terminals refer to terminals that log in to the device through the VTY line.
To output logs to the monitor terminal:
Step
1.
Enter system view.
2.
Enable the information center.
3.
Configure an output rule for
the monitor terminal.
4.
(Optional.) Configure the
timestamp format.
5.
Return to user view.
6.
Enable log output to the
monitor terminal.
7.
Enable the display of debug
information on the current
terminal.
Command
system-view
info-center enable
info-center source { module-name |
default } { console | monitor |
logbuffer | logfile | loghost }
{ deny | level severity }
info-center timestamp { boot | date
| none }
quit
terminal monitor
terminal debugging
terminal logging level severity
Command
system-view
info-center enable
info-center source { module-name |
default } { console | monitor |
logbuffer | logfile | loghost }
{ deny | level severity }
info-center timestamp { boot | date
| none }
quit
terminal monitor
terminal debugging
83
Remarks
N/A
By default, the information center is
enabled.
For information about default
output rules, see
"Default output
rules for
logs."
By default, the timestamp format is
date.
N/A
The default setting is enabled.
By default, the display of debug
information is disabled on the
current terminal.
The default setting is 6
(informational).
Remarks
N/A
By default, the information center is
enabled.
For information about default
output rules, see
"Default output
rules for
logs."
By default, the timestamp format is
date.
N/A
The default setting is enabled.
By default, the display of debug
information is disabled on the
current terminal.

Advertisement

This manual also for:

5900

Comments to this Manuals

Symbols: 0
Latest comments: