3Com Switch 8800 Configuration Guide Chapter 46 System Maintenance and Debugging
46-29
III. Configuration steps
1) Configuration on the switch
Enable info-center
[SW8800] 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 that the
modules which are allowed to output information are ARP and IP .
[SW8800] info-center loghost 202.38.1.10 facility local4 language english
[SW8800] info-center source arp channel loghost log level informational
[SW8800] info-center source ip channel loghost log level informational
2) Configuration on the loghost
This configuration is performed on the loghost. The following example is performed on
SunOS 4.0 and the operation on Unix operation system produced by other
manufactures is generally the same to the operation on SunOS 4.0.
Step 1: Perform the following command as the super user (root).
mkdir /var/log/SW8800
touch /var/log/SW8800/information
Step 2: Edit file /etc/syslog.conf as the super user (root), add the following
selector/actor pairs.
SW8800 configuration messages
local4.info /var/log/SW8800/information
Note:
Note the following points when editing /etc/syslog.conf:
z The note must occupy a line and start with the character #.
z There must be a tab other than a space as the separator in selector/actor pairs.
z No redundant space after file name.
z 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.
Step 3: After the establishment of information (log file) and the revision of
/etc/syslog.conf, you should send a HUP signal to syslogd (system daemon), through
the following command, to make syslogd reread its configuration file /etc/syslog.conf.
ps -ae | grep syslogd
147