EasyManuals Logo

Huawei Quidway S3900 Series User Manual

Huawei Quidway S3900 Series
955 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #894 background imageLoading...
Page #894 background image
Operation Manual – Information Center
Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Information Cente
r
Huawei Technologies Proprietary
1-16
# mkdir /var/log/Quidway
# touch /var/log/Quidway/information
Step 2: Edit the file “/etc/syslog.conf” as the superuser (root user) to add the following
selector/action pair.
# Quidway configuration messages
local4.info /var/log/Quidway/information
Note:
When you edit the file “/etc/syslog.conf”, note that:
z A note must start in a new line following a “#” sign.
z In each pair, a tab should be used as a separator instead of a space.
z No space is allowed at the end of a file name.
z The facility and received log information severity level specified in the file
“/etc/syslog.conf” must be the same as those corresponding parameters configured
in the commands info-center loghost and info-center source. Otherwise, log
information may not be output to the log host normally.
Step 3: After the log file “information” is created and the file “/etc/syslog.conf” is
modified, run the following command to send a HUP signal to the system daemon
“syslogd”, so that it reads its new configuration file “/etc/syslog.conf”.
# ps -ae | grep syslogd
147
# kill -HUP 147
After all the above operations, the switch can make records in the corresponding log
file.
Note:
Through combined configuration of the device name (facility), information severity level
threshold (severity), module name (filter) and file “syslog.conf”, you can sort
information precisely for filtering.
1.4.2 Log Output to a Linux Log Host
I. Network requirements
The switch sends the following log information in English to the Linux log host whose IP
address is 202.38.1.10: All modules' log information, with severity higher than “errors”.

Table of Contents

Other manuals for Huawei Quidway S3900 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Huawei Quidway S3900 Series and is the answer not in the manual?

Huawei Quidway S3900 Series Specifications

General IconGeneral
BrandHuawei
ModelQuidway S3900 Series
CategorySwitch
LanguageEnglish

Related product manuals