Configuration Examples Of Sending Log To Linux Loghost - Huawei Quidway S6500 Series Operation Manual

Hide thumbs Also See for Quidway S6500 Series:
Table of Contents

Advertisement

Operation Manual - System Management
Quidway S6500 Series Ethernet Switches

4.5.12 Configuration examples of sending log to Linux loghost

I. Networking Requirement
The networking requirement are as follows:
Sending the log information of the switch to Linux loghost
The IP address of the loghost is 202.38.1.10
The information with the severity level above informational will be sent to the
loghost
The output language is English
All modules are allowed to output information
II. Networking diagram
Switch
Switch
Switch
Figure 4-3 Schematic diagram of configuration
III. Configuration steps
1)
Configuration steps
# Enabling info-center
[Quidway] info-center enable
# Set the host with the IP address of 202.38.1.10 as the loghost; set the severity level
threshold value as informational, set the output language to English; set all the modules
are allowed output information.
[Quidway] info-center loghost 202.38.1.10 facility local7 language english
[Quidway] info-center source default channel loghost log level informational
2)
Configuration on the loghost
This configuration is performed on the loghost.
Step 1: Perform the following command as the super user (root).
# mkdir /var/log/Quidway
# touch /var/log/Quidway/information
Step 2: Edit file /etc/syslog.conf as the super user (root), add the following
selector/actor pairs.
Chapter 4 System Maintenance and Debugging
Network
Network
Huawei Technologies Proprietary
4-31
PC
PC

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Release 3000 series

Table of Contents