
344
C
HAPTER
11: S
YSTEM
M
ANAGEMENT
Local4.crit /var/log/SW7700/config
SW7700 security messages:
local5.notice /var/log/SW7700/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.
[SW7700]
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”.
[SW7700]
info-center console channel console
[SW7700]
info-center source rstp channel 6 log level debugging
3
Enable RSTP module debugging.
<SW7700>
debugging rstp all
Configure the info-center loghost as follows:
1
Enable the logging system.
[SW7700]
info-center enable
2
Set the host at 202.38.1.10 as info-center loghost, sets the severity threshold to
informational, the output language to English and allows the RSTP and IP modules
to output information.
[SW7700]
info-center loghost 202.38.1.10 language english
[SW7700]
info-center source rstp channel 5 log level informational
[SW7700]
info-center source ip channel 4 log level informational
For the configurations at the host side, see “Configuring the Info-center Loghost”
on page 343.
Summary of Contents for Switch 7700
Page 10: ...2 ABOUT THIS GUIDE ...
Page 52: ...44 CHAPTER 2 PORT CONFIGURATION ...
Page 194: ...186 CHAPTER 5 IP ROUTING PROTOCOL OPERATION ...
Page 195: ...Route Capacity 187 ...
Page 196: ...188 CHAPTER 5 IP ROUTING PROTOCOL OPERATION ...
Page 197: ...Route Capacity 189 ...
Page 198: ...190 CHAPTER 5 IP ROUTING PROTOCOL OPERATION ...
Page 237: ...GMRP 229 SW7700 Ethernet1 0 1 gmrp ...
Page 238: ...230 CHAPTER 6 MULTICAST PROTOCOL ...
Page 270: ...262 CHAPTER 7 QOS OPERATION ...
Page 320: ...312 CHAPTER 9 AAA AND RADIUS OPERATION ...
Page 330: ...322 CHAPTER 10 RELIABILITY ...
Page 390: ...382 CHAPTER 11 SYSTEM MANAGEMENT ...