Outputting Log Information To A Linux Log Host - H3C S5500-EI series Operation Manual

Hide thumbs Also See for S5500-EI series:
Table of Contents

Advertisement

Operation Manual – Information Center
H3C S5500-EI Series Ethernet Switches
Note:
Be aware of the following issues while editing the /etc/syslog.conf file:
Comments must be on a separate line and must begin with the # sign.
The selector/action pair must be separated with a tab key, rather than a space.
No redundant spaces are allowed in the file name.
The device name and the accepted severity of log information specified by the
/etc/syslog.conf file must be identical to those configured on the device using the
info-center loghost or info-center source command; otherwise the log
information may not be output properly to the log host.
Step three: After the log file information has been created and the configuration file
/etc/syslog.conf has been modified, ensure that the configuration file /etc/syslog.conf is
reread:
# ps -ae | grep syslogd
147
# kill -HUP 147
After the above configurations, the system will be able to keep log information in the
related file.

1.4.2 Outputting Log Information to a Linux Log Host

I. Network requirements
Send log information to a Linux log host with an IP address of 1.2.0.1/16;
Log information with severity higher than informational will be output to the log
host;
All modules can output log information.
II. Network diagram
Figure 1-2 Network diagram for outputting log information to a Linux log host
III. Configuration procedure
Before configuration, make sure that there is a route between Device and PC.
1)
Configuring the device
# Enable information center.
<Sysname> system-view
Chapter 1 Information Center Configuration
1-17

Advertisement

Table of Contents
loading

Table of Contents