Configuring the Device to Output Debugging Messages to the Terminal
Context
After debugging messages are output to a user terminal, you can view debugging messages on the user terminal (host from which you log in to the device through STelnet) to monitor device running.
Procedure
- Run system-view
The system view is displayed.
- Run info-center monitor channel { channel-number | channel-name }
A channel used by the device to output debugging messages to a user terminal is specified.
By default, the device uses channel 1 to output debugging messages to a user terminal.
- Run info-center source { module-name | default } channel { channel-number | channel-name } debug { state { off | on } | level severity } *
A rule for outputting debugging messages to a channel is set.
By default, channel 1 is enabled to output debugging messages and the lowest severity is debugging.
- 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 debugging
Debugging message display is enabled on the user terminal.
By default, debugging message display is disabled on the user terminal.