Configuring The Device To Output Logs To The Console - 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
Step 5 (Optional) Run:
info-center logfile size size
The log file size is set.
By default, the log file size is 8 MB.
NOTE
Step 6 (Optional) Run:
info-center max-logfile-number filenumbers
The maximum number of log files that can be saved is set.
By default, a maximum of 200 log files can be saved.
If the number of log files generated on the Router exceeds the limit, the system deletes the oldest
log file.
----End

3.6.1.8 Configuring the Device to Output Logs to the Console

Context
After logs are output to the console, you can view logs on the console (host from which you can
log in to the device through the console interface) to monitor device running.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
info-center console channel { channel-number | channel-name }
A channel through which logs are output to the console is specified.
By default, the device uses channel 0 to output logs to the console.
Issue 05 (2014-01-16)
l By default, log files are stored in the flash memory on the AR150&200 series.
l By default, log files are stored in usb0 on the AR1200 series. If usb0 is unavailable, the default log
storage medium is usb1. If both usb0 and usb1 are unavailable, the default log storage medium is Flash.
If usb0, usb1 and Flash are unavailable, the log files are not saved.
l By default, log files are stored in the flash memory on the AR2201-48FE, AR2202-48FE, AR2204,
AR2220,.
l The AR2240 and AR3200 series select 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 are not saved.
l If the size of a log file generated on the device exceeds the configured log file size, the system
decompresses the log file into a zip file.
l You can run the save logfile command to save information to a log file.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3 Information Center Configuration
39

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ar1200 seriesAr200 seriesAr2200 seriesAr3200 series

Table of Contents