3Com 10014298 Switch User Manual


 
264 CHAPTER 11: SYSTEM MANAGEMENT
Configuring the Info-center Loghost
This configuration is performed on the info-center loghost. The following
configuration example is implemented on SunOS 4.0. The configurations on the
Unix operating systems of other vendors are similar.
1 Perform the following commands with the identity of root
mkdir /var/log/SW7750
touch /var/log/SW7750/config
touch /var/log/SW7750/security
2 Edit the file “/etc/syslog.conf” with the identity of root and add the following
selector/action pairs.
SW7750 configuration messages:
Local4.crit /var/log/SW7750/config
SW7750 security messages:
local5.notice /var/log/SW7750/security
Pay attention to the following points when editing the file “/etc/syslog.conf”:
The description must start from a fresh line and begin with a pound key #.
Use tab character to separate the selectors/action pairs instead of space.
No redundant spaces should be left behind the name of the file.
3 When the log files “config” and “security” are created, and the file
“/etc/syslog.conf” is modified, perform the following commands to send a HUP
signal to the system demon syslogd, so that the syslogd can read the configuration
file “/etc/syslog.conf” again.
ps -ae | grep syslogd 147
kill -HUP 147
After the operations are performed, the system can record information in the
corresponding logging files
Configuring the facility, severity, filter and the file “syslog.conf” integrally makes it
possible to perform the detailed classification for the purpose of information
filtering.
If you are using a UNIX workstation as a syslog server, consult your UNIX system
manager manual for syslog configuration information.
Example: Log Configuration
Configure to output log on the console, as follows:
1 Enable the logging system.
[SW7750]info-center enable
2 Configure the logging output of the console and allows the log output of RSTP
module with the severity ranged from “emergencies” to “debugging”.
[SW7750]info-center console channel console
[SW7750]info-center source rstp channel 6 log level debugging
3 Enable RSTP module debugging.
<SW7750>debugging rstp all