Outputting Logs To The Log Buffer - 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
Context
A data dictionary is used to transform binary logs into text logs. A data dictionary is the
aggregation of log IDs and fixed information required in the log, such as the level, mnemonic
symbol, and format string. The generated data dictionary is downloaded by the external
resolution tool.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
info-center create-logbook { file-name | ftp ftp-address user-name user-name
password password [ file-name file-name | port-id port-number ]
The data dictionary is generated.
----End

2.3.6 Outputting Logs to the Log Buffer

The log buffer stores the latest logs generated by the system. You can set the log buffer size or
channels in this task.
Procedure
l
l
Issue 03 (2011-11-27)
Configure the channel through which logs are output.
1.
Run the following command on the router enabled with the information center:
system-view
The system view is displayed.
2.
Run:
info-center source { module-name | default } channel { channel-number |
channel-name } [ log { state { off | on } | level severity }
Logs are sent to the information channel.
Logs can be output only after the information center is enabled.
Configure the channel through which logs are output.
1.
Run the following command on the router enabled with the information center:
system-view
The system view is displayed.
2.
Run:
info-center logbuffer [ channel { channel-number | channel-name } ]
The channel through which logs are output to the log buffer is configured.
3.
(Optional) Run:
info-center logbuffer [ channel { channel-number | channel-name } | size
*
buffersize ]
The size of the log buffer is configured.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
2 Information Center Configuration
*
}
*
]
17

Advertisement

Table of Contents
loading

Table of Contents