Configuring Debugging Message Output
Pre-configuration Tasks
Before enabling debugging message output, start the switch.
Debugging occupies CPU resources on the switch, affecting system running. After debugging, run the undo debugging all command to disable it immediately.
Configuration Procedure
No. |
Configuration Task |
Description |
Remarks |
---|---|---|---|
1 |
You can configure the information center only after the information center is enabled. By default, the information center is enabled. |
Steps 2 and 3 are optional and can be performed in any sequence. |
|
2 |
You can easy-to-remember names for channels to facilitate information center usage. |
||
3 |
(Optional) Setting the Timestamp Format of Debugging Messages |
To adjust the time format and time precision for information output, configure the timestamp. |
|
4 |
Configuring the Device to Output Debugging Messages to the Log File |
After debugging messages are output to a log file, you can download the log file anytime to monitor device running based on debugging messages. |
Steps 4 to 7 can be performed in any sequence. You can view debugging messages in the console or terminal. |
5 |
Configuring the Device to Output Debugging Messages to the Console |
After debugging messages are output to the console, you can view debugging messages on the console (host from which you can log in to the switch through the console interface) to monitor device running. |
|
6 |
Configuring the Device to Output Debugging Messages to the Terminal |
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 switch through STelnet) to monitor device running. |
|
7 |
Configuring the Device to Output Debugging Messages to the Log Host |
After configuring the switch to output debugging messages to a log host, you can view debugging messages saved on the log host to monitor device running. |
- Enabling the Information Center
- (Optional) Renaming Information Channels
- (Optional) Setting the Timestamp Format of Debugging Messages
- Configuring the Device to Output Debugging Messages to the Log File
- Configuring the Device to Output Debugging Messages to the Console
- Configuring the Device to Output Debugging Messages to the Terminal
- Configuring the Device to Output Debugging Messages to the Log Host
- Verifying the Debugging Message Output Configuration