Huawei Quidway S3100 Series Operation Manual page 474

Table of Contents

Advertisement

Operation Manual – Information Center
Quidway S3100 Series Ethernet Switches
# Configure the host whose IP address is 202.38.1.10 as the log host. Set the severity
level threshold to informational and language to English. Permit information output from
the ARP and IP modules.
[Quidway] info-center loghost 202.38.1.10 facility local4 language english
[Quidway] info-center source arp channel loghost log level informational
[Quidway] info-center source ip channel loghost log level informational
2)
Configure the log host:
The operations here are performed on SunOS 4.0. The operations on other
manufacturers' Unix operation systems are similar.
Step 1: Execute the following commands as the superuser (root user).
# 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
Note:
When you edit the file "/etc/syslog.conf", note that:
A note must start in a new line following a "#" sign.
In each pair, a tab should be used as a separator instead of a space.
No space is allowed at the end of a file name.
The facility and received log information severity level specified in the file
"/etc/syslog.conf" must be the same as those configured in the commands
info-center loghost a.b.c.d facility and info-center source. Otherwise, log
information output to the log host may fail.
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.
/var/log/Quidway/information
Huawei Technologies Proprietary
1-14
Chapter 1 Information Center

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents