3Com 4500 PWR 26-Port Configuration Manual page 758

Hide thumbs Also See for 4500 PWR 26-Port:
Table of Contents

Advertisement

C
onfiguration procedure
1)
Configure the switch:
# Enable the information center.
<Switch> system-view
[Switch] info-center enable
# Disable the function of outputting information to log host channels, because all modules output log
information to the log host channels by default.
[Switch] undo info-center source default channel loghost
# Configure
the host whose IP address is 202.38.1.10 as the log host. Permit ARP and IP modules to
output information with sever
[Switch] info-center loghost 202.38.1.10 facility local4
[Switch] info-center source
state off
[Switch] info-center source ip chann
state off
2)
Configure the log host:
The operations here are performed on SunOS 4.0. The operations on other manufacturers' Unix
operation
systems are similar.
Step 1: Execute the following commands as the sup
#
mkdir /var/log/Switch
# touch /var/log/Switch/information
St
ep 2: Edit the file "/etc/syslog.conf" as the super user (root user) to add the following selector/action
pairs.
# Switch configuration messages
local4.info
/var/log/Switch/information
Whe
n you edit the file "/etc/syslog.conf", note that:
A note must start in a new line, s
In each pair, a tab should be used as a separator instead of a space.
No space is allowed at the end of a file name.
The device name (facility) and received log information severity level specified in the file
"/etc/syslog.conf" must be the same as those corresponding parameters configured in the
commands info-center loghos
output to the log host no
Step 3: After the log file "information" is created and the file "/etc/syslog.conf" is modified, execute the
followin
g command to send a HUP signal to the system daemon "syslogd", so that it can reread its
config
uration file "/etc/syslog.conf".
# ps -ae | grep syslogd
147
ity level higher than informational to the log host.
arp channel loghost log level informational debug state off trap
el loghost log level informational debug state off trap
er user (root user).
tarting with a "#" sign.
t and info-center source. Otherwise, log information may not be
rmally.
59-16

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500 26-port4500 50-port

Table of Contents