Outputting Debugging Information To The Console - Huawei AR3200 Series Configuration Manual

Enterprise routers
Hide thumbs Also See for AR3200 Series:
Table of Contents

Advertisement

Huawei AR3200 Series Enterprise Routers
Configuration Guide - Device Management
Step 2 Configure the channel through which debugging information is output to the log file.
1.
Step 3 (Optional) Configure the size of the log file output by the information center.
1.
----End

2.5.5 Outputting Debugging Information to the Console

When logging in to the device through a console, output debugging messages to the console for
a query in real time.
Context
Do as follows on the router configured with the information center:
Procedure
Step 1 Configure debugging information to be output through the channel.
1.
2.
Issue 03 (2011-11-27)
Debugging information is added to the information channel.
For the specific modules, the default configurations are as follows:
For the log information, the state is on and the allowed information level is warning.
For the alarm information, the state is on and the allowed information level is
debugging.
For the debugging information, the state is off.
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.
For the specific modules, the default configurations are as follows:
For the log information, the state is on and the allowed information level is warning.
For the alarm information, the state is on and the allowed information level is
debugging.
For the debugging information, the state is off.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
2 Information Center Configuration
*
]
33

Advertisement

Table of Contents
loading

Table of Contents