Configuration Examples Of Sending Log To Linux Loghost - H3C S9500 Series Operation Manual

Routing switches
Hide thumbs Also See for S9500 Series:
Table of Contents

Advertisement

Operation Manual – System Management
H3C S9500 Series Routing Switches
Note:
To configure facility, severity, filter and the file syslog.conf synthetically, you can get
classification in great detail and filter the information.

4.5.11 Configuration examples of sending log to Linux loghost

I. Network requirements
The Network requirements 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. Network diagram
Switch
Switch
Switch
Figure 4-3 Network diagram
III. Configuration procedure
1)
Configuration on the switch
# Enable info-center
[H3C] 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.
[H3C] info-center loghost 202.38.1.10 facility local7 language english
[H3C] 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).
Chapter 4 System Maintenance and Debugging
Network
Network
PC
PC
4-31

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9505S9508S9512

Table of Contents