Huawei AR3200 Series Configuration Manual page 49

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

Advertisement

Huawei AR3200 Series Enterprise Routers
Configuration Guide - Device Management
<Huawei> system-view
[Huawei] info-center enable
Step 3 Name the channel.
# Name the channel through which logs are output.
[Huawei] info-center channel 6 name loghost1
Step 4 Configure the channel through which logs are output.
# Configure the module enabled to output logs and the severity levels of logs allowed to be
output.
[Huawei] info-center source fib channel loghost log level notifications
[Huawei] info-center source ip channel loghost log level notifications
[Huawei] info-center source ppp channel loghost1 log level warnings
[Huawei] info-center source aaa channel loghost1 log level warnings
Step 5 Configure the source interface that sends logs.
# Configure the source interface that sends logs.
[Huawei] info-center loghost source gigabitethernet 1/0/0
Step 6 Configure the logs to be output to a specified log host.
# Specify Server 1 as the log server and Server 3 as the backup log server to receive the logs
from the FIB module and the IP module. The logs are output in English, by Local2.
[Huawei] info-center loghost 10.1.1.1 channel loghost facility local2 language
english
[Huawei] info-center loghost 10.1.1.2 channel loghost facility local2 language
english
# Specify Server 2 as the log server and Server 4 as the backup log server to receive the logs
from the PPP module and the AAA module. The logs are output by Local4.
[Huawei] info-center loghost 10.2.1.1 channel loghost1 facility local4 language
english
[Huawei] info-center loghost 10.2.1.2 channel loghost1 facility local4 language
english
Step 7 Configure the log server.
A log server is used to collect logs of the device when the storage memory of the router is not
large enough to record them.
Log servers can be installed with a Unix or Linux operating system or with the log software of
a third party.
If installed with a Unix or Linux operating system, logs enabled with Syslog can be collected
by the host.
If the host has a Linux operating system, choose from the following options:
l To create log files:
l To edit configuration files:
l To configure the file etc/sysconfig/syslog:
Issue 03 (2011-11-27)
Run the touch loghost.info command in the directory /var/log to create a file loghost.info
to record logs of the router.
Edit etc/syslog.conf to loghost.info /var/log/router.log, which specifies the log host name.
The logs with the severity level listed are then output to /var/log/loghost.log.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
2 Information Center Configuration
41

Advertisement

Table of Contents
loading

Table of Contents