Huawei Quidway S9300 Configuration Manual page 96

Terabit routing switch device management
Table of Contents

Advertisement

Quidway S9300 Terabit Routing Switch
Configuration Guide - Device Management
[Quidway] 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.
[Quidway] info-center source fib channel loghost log level notifications
[Quidway] info-center source ip channel loghost log level notifications
[Quidway] info-center source ppp channel loghost1 log level warnings
[Quidway] 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.
[Quidway] info-center loghost source vlanif 10
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.
[Quidway] info-center loghost 10.1.1.1 channel loghost facility local2 language
english
[Quidway] 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.
[Quidway] info-center loghost 10.2.1.1 channel loghost1 facility local4 language
english
[Quidway] 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 because the storage memory of the switch is
not large enough to record the generated logs.
Log servers can be installed with UNIX or LINUX operating system or with the log software of
the third party.
If being installed with UNIX or LINUX operating system, the host can collect logs when enabled
with Syslog.
Take the host installed with LINUX operating system as an example.
l To create log files:
l To edit configuration files:
l To configure the file etc/sysconfig/syslog:
l To enable Syslog:
Issue 03 (2011-12-29)
Run the touch loghost.info command in the directory /var/log to create a file loghost.info
to record logs of the switch.
Edit etc/syslog.conf to loghost.info /var/log/switch.log, that is specify the log host name. The
logs with the severity level as informational are then output to /var/log/loghost.log of the
system.
Modify syslogd_options="-m o" to syslogd_option="-1 -m o", enabling the system to record
the logs of the remote devices.
Run the service syslog restart command.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
5 Information Center Configuration
84

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents