274
C
15: S
HAPTER
YSTEM
M
D
AINTENANCE AND
EBUGGING
The information with the severity level above informational will be sent to the
■
loghost
The output language is English
■
The modules that allowed to output information are ARP and IP
■
Networking diagram
Table 313 Schematic diagram of configuration
Switch
Switch
Switch
Configuration steps
1 Configuration on the switch
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
language to English; set that the modules which are allowed to output
information are ARP and IP.
[3com] info-center loghost 202.38.1.10 facility local4 language
english
[3com] info-center source arp channel loghost log level
informational
[3com] info-center source ip channel loghost log level informational
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/3com
# touch /var/log/3com/information
b Edit file
/etc/syslog.conf
selector/actor
# 3com configuration messages
local4.info
Note the following points when editing /etc/syslog.conf:
The note must occupy a line and start with the character #.
■
There must be a tab other than a space as the separator in selector/actor pairs.
■
No redundant space after file name.
■
Network
Network
as the super user (root), add the following
pairs.
/var/log/3Com/information
PC
PC