Huawei Quidway S9300 Configuration Manual page 100

Terabit routing switch device management
Table of Contents

Advertisement

Quidway S9300 Terabit Routing Switch
Configuration Guide - Device Management
# 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 public-net channel loghost1 facility local4
language english
[Quidway] info-center loghost 10.2.1.2 public-net 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:
For the host installed with the log software of a third party, you can configure the log software
of the third party to implement the log collection function on the host. For example, the HUAWEI
iManager 2000 supports the log management function and hence can receive, filter, save, and
forward the Syslog messages sent by the device or triggers other actions.
For the procedure for configuring log services on the HUAWEI iManager N200, refer to the
HUAWEI iManager N2000 DM - Compound Package User Manual Volume I.
Step 8 Verify the configuration.
# Display the configuration of the log host.
<Quidway> display info-center
Information Center:enabled
Log host:
the interface name of the source address:vlanif 10
local2
local2
local4
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.
10.1.1.1, channel number 2, channel name loghost,
10.1.1.2, channel number 2, channel name loghost,
10.2.1.1, channel number 6, channel name loghost1
10.2.1.2, channel number 6, channel name loghost1
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
5 Information Center Configuration
language english , host facility
language english , host facility
language english , host facility
88

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents