3Com SuperStack 4 Configuration Manual page 331

5500g-ei family
Hide thumbs Also See for SuperStack 4:
Table of Contents

Advertisement

Configuration Examples
of Sending Log to
Control Terminal
[SW5500]info-center loghost 202.38.1.10 facility local7 language
english
[SW5500]info-center source default channel loghost log level
informational
2 Configuration on the loghost
This configuration is performed on the loghost.
a Perform the following command as the super user (root).
# mkdir /var/log/SW5500
# touch /var/log/SW5500/information
b Edit file
/etc/syslog.conf
selector/actor pairs.
# SW5500 configuration messages
local7.info /var/log/SW5500/information
Note the following points when editing /etc/syslog.conf:
(1) The note must occupy a line and start with the character #.
(2) There must be a tab other than a space as the separator in selector/actor pairs.
(3) No redundant space after file name.
(4) The device name and the acceptant log information level specified in
/etc/syslog.conf must be consistent with info-center loghost and info-center
loghost a.b.c.d facility configured on the Switch. Otherwise, the log information
probably cannot be output to the loghost correctly.
c After the establishment of information (log file) and the revision of
/etc/syslog.conf
through the following command, kill syslogd daemon and reuse -r option the
start syslogd in daemon.
# ps -ae | grep syslogd
147
# kill -9 147
# syslogd -r &
For Linux loghost, you must ensure that syslogd daemon is started by -r option.
After the above operation, the Switch system can record information in related
log files.
To configure facility, severity, filter and the file syslog.conf synthetically, you can
get classification in great detail and filter the information.
Networking Requirement
The networking requirements are as follows:
Sending the log information of the Switch to Unix 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
as the super user (root), add the following
, you should view the number of
Logging Function
343
(system daemon)
syslogd

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SuperStack 4 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Superstack 4 5500g-ei series

Table of Contents