Configuring The Device To Output Logs To The Log Buffer - Huawei AR150 Series Configuration Manual

Hide thumbs Also See for AR150 Series:
Table of Contents

Advertisement

Huawei AR150&200&1200&2200&3200 Series Enterprise
Routers
Configuration Guide - Device Management
NOTE
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
info-center local log-counter disable
The log counter function is disabled.
By default, the log counter function is enabled.
----End

3.6.1.6 Configuring the Device to Output Logs to the Log Buffer

Context
To view logs in the log buffer, configure the device to output logs to the log buffer.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
info-center logbuffer
The device is enabled to output information to the log buffer.
By default, the device is enabled to output logs to the log buffer.
Step 3 Run:
info-center logbuffer channel { channel-number | channel-name }
The channel used by the device to output logs to the log buffer is specified.
By default, the device uses channel 4 to output logs to the log buffer.
Step 4 Run:
info-center source { module-name | default } channel { channel-number | channel-
name } log { state { off | on } | level severity }
A rule for outputting logs to a channel is set.
Issue 05 (2014-01-16)
l If logs are sent to the console, log file, or terminal, logs are counted independently and sequence
numbers in the logs are in ascending order. That is, the sequence number of the log that was generated
first is 0 and the log that is generated later has a larger sequence number.
l If logs are sent to the log buffer, sequence numbers in logs are in descending order. That is, the sequence
number in the log that is generated recently is 0 and the log that was generated earlier has a larger
sequence number.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3 Information Center Configuration
*
37

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ar1200 seriesAr200 seriesAr2200 seriesAr3200 series

Table of Contents