3Com Switch 8800 Advanced Software V5 Configuration Guide

1130 CHAPTER 88: INFORMATION CENTER CONFIGURATION
Network diagram
Figure 331 Network diagram for outputting log information to a Unix log host
Configuration procedure
1 Configuring the device
# Enable information center.
<Sysname> system-view
[Sysname] info-center enable
# Specify the channel to output log information to the log host (loghost by
default, optional).
[Sysname] info-center loghost 1.2.0.1 channel loghost
# Disable the output of log, trap, and debug information of all modules to the log
host.
[Sysname] info-center source default channel loghost debug state off
log state off trap state off
c
CAUTION:
As the default system configurations for different channels vary, ensure that
the output of log, trap, and debug information for the specified channel
(loghost in this example) of all modules is disabled before the system
information can be output to meet the current network requirements.
Use the display channel command to display the state of a channel.
# Set the host with an IP address of 1.2.0.1/16 to be the log host, set the severity
to informational, language to English, and the source modules to ARP and IP.
(Note that the source modules vary with devices.).
[Sysname] info-center loghost 1.2.0.1 facility local4 language english
[Sysname] info-center source arp channel loghost log level informational
[Sysname] info-center source ip channel loghost log level informational
2 Configuring the log host
The following configurations were performed on SunOS 4.0 which has similar
configurations to the Unix operating systems implemented by other vendors.
Step 1: issue the following commands as a root user.
# mkdir /var/log/3Com
# touch /var/log/3Com/information
Step 2: Edit the file /etc/syslog.conf as a root user and add the following
selector/action pair.
Internet
Device
PC
1.1.0.1/16 1.2.0 .1/16