314 CHAPTER 34: INFORMATION CENTER CONFIGURATION GUIDE
# ps -ae | grep syslogd
147
# kill -9 147
# syslogd -r &
Complete Configuration Configuration on the switch.
#
info-center source default channel 2 log level error trap state off
info-center loghost 202.38.1.10
Configuration on the log host.
#
# mkdir /var/log/3Com
# touch /var/log/3Com/information
# 3Com configuration messages
local7.info /var/log/3Com/information
#
# ps -ae | grep syslogd
147
# kill -9 147
# syslogd -r &
Precautions Ensure that the syslogd process is started with the -r option on a Linux log host.
Note 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 and info-center source commands; otherwise the
log information may not be output properly to the log host.
Outputting Log and Trap Information to a Log Host Through the Same Channel
Network Diagram Figure107 Network diagram for outputting log and trap information to a log host
through the same channel
Networking and
Configuration
Requirements
Send log and trap information with severity higher than informational to the log
host through the same channel channel6. The information source module is L2INF
(interface management module).
Linux host
Switch
Network