312CHAPTER 34: INFORMATION CENTER CONFIGURATION GUIDE

[3Com] info-center source ip channel loghost log level informational

debug state off trap state off

Configuration on the log host.

The following configurations were performed on SunOS 4.0 which has similar configurations with the Unix operating systems implemented by other vendors.

#Execute the following commands as a root user.

#mkdir /var/log/3Com

#touch /var/log/3Com/information

#Edit the file /etc/syslog.conf as a root user and add the following selector/action pairs.

#3Com configuration messages

local4.info /var/log/3Com/information

#After the log file information has been created and the configuration file /etc/syslog.conf has been modified, ensure that the configuration file /etc/syslog.conf is reread by executing the following commands:

#ps -ae grep syslogd

147

# kill -HUP 147

Complete Configuration Configuration on the switch.

#

info-center source ARP channel 2 trap state off info-center source IP channel 2 trap state off undo info-center source default channel 2 info-center loghost 202.38.1.10 facility local4

Configuration on the log host.

#

#mkdir /var/log/3Com

#touch /var/log/3Com/information

#3Com configuration messages

local4.info

/var/log/3Com/information

#

 

#ps -ae grep syslogd 147

#kill -HUP 147

Precautions 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.

Page 312
Image 312
3Com 5500G, 4210, 4200G manual Configuration on the log host, # Execute the following commands as a root user