3Com 8807 Configuration Manual page 833

8800 series
Hide thumbs Also See for 8807:
Table of Contents

Advertisement

n
n
n
Configuration Examples
of Sending Log to the
Console Terminal
[SW8800] info-center loghost 202.38.1.10 facility local7 language english
[SW8800] 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/3Com
# touch /var/log/3Com/information
Step 2: Edit file /etc/syslog.conf as the super user (root), add the following
selector/actor pairs.
# 3Com configuration messages
local7.info
/var/log/3Com/information
Note the following points when editing /etc/syslog.conf:
The note must occupy a line and start with the character #.
There must be a tab other than a space as the separator in selector/actor pairs.
No redundant space after file name.
The device name and the acceptant log information level specified in
/etc/syslog.conf must be consistent with information center loghost and
information center loghost a.b.c.d facility configured on the switch. Otherwise,
the log information probably cannot be output to the loghost correctly.
Step 3: After the establishment of information (log file) and the revision of
/etc/syslog.conf, you should view the number of syslogd (system daemon) 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.
Network requirements
The network requirements are as follows:
Sending the log information of the switch to console terminal
The information with the severity level above informational will be sent to the
console terminal
The output language is English
Information Center Function
833

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

88108814

Table of Contents