3Com DUA1750-2BAA01 Switch User Manual


 
3Com Switch 8800 Configuration Guide Chapter 46 System Maintenance and Debugging
46-31
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/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
local7.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 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 &
Note:
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.