Outputting Logs To A Log File; Outputting Logs 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
----End

2.3.7 Outputting Logs to a Log File

When a fault occurs on the device, you locate the fault based on information saved in the log
file.
Context
Procedure
Step 1 Send logs to a channel.
1.
2.
Step 2 Configure the channel through which logs are output to the log file.
1.
Step 3 (Optional) Configure the size of the log file output by the information center.
1.
----End

2.3.8 Outputting Logs to the Console

By outputting logs to the console, you can view the operating status of the device on the console.
Issue 03 (2011-11-27)
After the information center is enabled, logs are output to the log buffer through
Channel 4 by default and the log buffer can cache a maximum of 512 logs.
NOTE
The system selects a storage medium in descending order of priority: sd0, sd1, usb0, and usb1. The default
log storage medium is sd0. If sd0 is unavailable, the default log storage medium is sd1. If none of sd0, sd1,
usb0, and usb1 is unavailable, the log files cannot be saved. The log storage path is in the format of storage
medium name:/logfile, for example, usb0:/logfile.
Run:
system-view
The system view is displayed.
Run:
info-center source { module-name | default }channel { channel-number | channel-
name } [ log { state { off | on } | level severity }
Logs are sent the information channel.
Logs can be output only after the information center is enabled.
Run:
info-center logfile channel { channel-number | channel-name }
The channel through which logs are output to the log file is configured.
Run:
info-center logfile size size
The size of the configuration file is set.
By default, the size of log files is 8 MB.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
2 Information Center Configuration
*
]
18

Advertisement

Table of Contents
loading

Table of Contents