486
C
HAPTER
22: F
ILE
S
YSTEM
M
ANAGEMENT
2
Configuration on the loghost
This configuration is performed on the loghost. The following example is performed
on SunOS 4.0 and the operation on Unix operation system produced by other
manufactures is generally the same to the operation on SunOS 4.0.
a
Perform the following command as the super user (root).
# mkdir /var/log/SW5500
# touch /var/log/SW5500/information
b
Edit file /etc/syslog.conf as the super user (root), add the following selector/actor
pairs.
# SW5500 configuration messages
local4.info /var/log/SW5500/information
Note the following points when editing /etc/syslog.conf:
(1) The note must occupy a line and start with the character #.
(2) There must be a tab other than a space as the separator in selector/actor pairs.
(3) No redundant space after file name.
(4) 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
for Sending Log to Linux
Loghost
Networking Requirement
The networking requirements 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
Содержание 5500 SI - Switch - Stackable
Страница 24: ...24 ABOUT THIS GUIDE...
Страница 30: ...30 CHAPTER 1 GETTING STARTED Figure 3 Setting up a New Connection Figure 4 Configuring the Port for Connection...
Страница 50: ...50 CHAPTER 1 GETTING STARTED...
Страница 54: ...54 CHAPTER 2 ADDRESS MANAGEMENT CONFIGURATION...
Страница 78: ...78 CHAPTER 3 PORT OPERATION...
Страница 88: ...88 CHAPTER 4 XRN CONFIGURATION...
Страница 122: ...122 CHAPTER 8 VLAN VPN CONFIGURATION...
Страница 216: ...216 CHAPTER 15 SSH TERMINAL SERVICES...
Страница 268: ...268 CHAPTER 16 IP ROUTING PROTOCOL OPERATION...
Страница 308: ...308 CHAPTER 17 NETWORK PROTOCOL OPERATION...
Страница 349: ...349...
Страница 350: ...350 CHAPTER 18 MULTICAST PROTOCOL...
Страница 522: ...522 CHAPTER 22 FILE SYSTEM MANAGEMENT...
Страница 584: ...584 CHAPTER 30 PASSWORD CONTROL CONFIGURATION OPERATIONS...
Страница 600: ...600 CHAPTER 31 MSDP CONFIGURATION...
Страница 614: ...614 CHAPTER 32 CLUSTERING...
Страница 670: ...670 CHAPTER C AUTHENTICATING THE SWITCH 5500 WITH CISCO SECURE ACS...