Outputting Debugging Information To The Console - Huawei Quidway S9300 Configuration Manual

Terabit routing switch device management
Table of Contents

Advertisement

Quidway S9300 Terabit Routing Switch
Configuration Guide - Device Management
1.
2.
Step 2 Configuring the Channel through which debugging information is output to the Log File
1.
2.
Step 3 (Optional) Configuring the Size of the Log File Output by the Information Center
1.
----End

5.5.5 Outputting Debugging Information to the Console

When you log in to the device through a console, you can output debugging messages to the
console for query in real time.
Context
Do as follows on the switch configured with the information center:
Procedure
Step 1 Configuring Debugging Information to be output through the Channel
1.
2.
Issue 03 (2011-12-29)
Run:
system-view
The system view is displayed.
Run:
info-center source { module-name | default } channel { channel-number | channel-
name } [ debug { state { off | on } | level severity }
Debugging information is added to the information channel.
By default, the timestamp format of debugging information is date and the precision is
millisecond.
Run:
system-view
The system view is displayed.
Run:
info-center logfile channel { channel-number | channel-name }
The channel through which debugging information is output to the log file is configured.
Run:
info-center logfile size size
By default, the debugging information is not saved in the log file. If you want the debugging
information to be saved in the log file, run the info-center source default channel 9
debug state on level severity command to add records to the information channel.
Run:
system-view
The system view is displayed.
Run:
info-center source { module-name | default } channel { channel-number | channel-
name } [ debug { state { off | on } | level severity }
Debugging information is added to the information channel.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
5 Information Center Configuration
*
]
*
]
76

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents