■
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.
c
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
# kill -HUP 147
After the above operation, the switch system can record information in related log
files.
To configure facility, severity, filter and the file syslog.conf synthetically, you can
get classification in great detail and filter the information.
Configuration examples
of sending log to Linux
loghost
Networking Requirement
The networking requirement are as follows:
■
Sending the log information of the switch to Linux loghost
■
The IP address of the loghost is 202.38.1.10
■
The information with the severity level above informational will be sent to the
loghost
■
The output language is English
■
All modules are allowed to output information
Networking diagram
Figure 75
Schematic diagram of configuration
Configuration steps
# Enabling info-center
[3com]
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
Switch
PC
Network
Switch
Switch
PC
Network
Summary of Contents for Switch 4500 26-Port
Page 16: ...14 ABOUT THIS GUIDE...
Page 58: ...56 CHAPTER 2 PORT OPERATION...
Page 104: ...102 CHAPTER 5 NETWORK PROTOCOL OPERATION...
Page 130: ...128 CHAPTER 6 IP ROUTING PROTOCOL OPERATION...
Page 154: ...152 CHAPTER 7 ACL CONFIGURATION...
Page 228: ...226 CHAPTER 11 802 1X CONFIGURATION...
Page 250: ...248 CHAPTER 14 DEVICE MANAGEMENT...
Page 280: ...278 CHAPTER 15 SYSTEM MAINTENANCE AND DEBUGGING...
Page 312: ...310 CHAPTER 18 NTP CONFIGURATION...
Page 340: ...338 CHAPTER 19 SSH TERMINAL SERVICES...
Page 350: ...348 CHAPTER 20 PASSWORD CONTROL CONFIGURATION OPERATIONS...
Page 388: ...386 APPENDIX B RADIUS SERVER AND RADIUS CLIENT SETUP...