3Com Switch 7750 Configuration Guide Guide
768 CHAPTER 71: INFORMATION CENTER
Network diagram
Figure 195 Network diagram for log output to a Unix log host
Configuration procedure
1 Configure the switch:
# Enable the information center.
<SW7750> system-view
[SW7750] info-center enable
# Disable for all modules the function of outputting information to log host
channels.
[SW7750] undo info-center source default channel loghost
# Configure the host whose IP address is 202.38.1.10 as the log host. Set the
output language to English. Permit ARP and IP modules to output information
with severity level higher than informational to the log host.
[SW7750] info-center loghost 202.38.1.10 facility local4 language english
[SW7750] info-center source arp channel loghost log level informational
debug state off trap state off
[SW7750] info-center source ip channel loghost log level informational debug
state off trap 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 superuser (root user).
# mkdir /var/log/3Com
# touch /var/log/3Com/information
Step 2: Edit the file "/etc/syslog.conf" as the superuser (root user) to add the
following selector/action pair.
# 3Com configuration messages
local4.info /var/log/3Com/information
n
When you edit the file "/etc/syslog.conf", note that:
■ A note must start in a new line following a "#" sign.
■ In each pair, a tab should be used as a separator instead of a space.
Switch
PC
Network
SwitchSwitch
PC
Network