Configuring the Device to Output Logs to a Terminal
Context
After logs are output to a user terminal, you can view logs on the user terminal (host from which you log in to the device through Telnet) to monitor device running.
Procedure
- Run system-view
The system view is displayed.
- Run info-center monitor channel { channel-number | channel-name }
A channel through which logs are output to a user terminal is specified.
By default, the switch uses channel 1 to output logs to a user terminal.
- Run info-center source { module-name | default } channel { channel-number | channel-name } log { state { off | on } | level severity } *
A rule for outputting logs to a channel is set.
By default, channel 1 is enabled to output logs and the lowest log severity is warning.
- Run quit
Return to the user view.
- Run terminal monitor
Display of logs, traps, and debugging message output is enabled on the user terminal.
By default, console display is enabled and terminal display is disabled.
- Run terminal logging
Log display is enabled on the user terminal.
By default, log display is enabled on the user terminal.