1-15Network diagramFigure 1-1 Network diagram for log output to a Unix log hostNetworkUnix loghostSwitch202.38.1.10Configuration procedure1) Configure the switch:# Enable the information center. system-view[Switch] info-center enable# Disable the function of outputting information to log host channels, because all modules output loginformation 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 tooutput information with severity level higher than informational to the log host.[Switch] info-center loghost 202.38.1.10 facility local4[Switch] info-center source arp channel loghost log level informational debug state off trapstate off[Switch] info-center source ip channel loghost log level informational debug state off trapstate off2) Configure the log host:The operations here are performed on SunOS 4.0. The operations on other manufacturers' Unixoperation systems are similar.Step 1: Execute the following commands as the super user (root user).# mkdir /var/log/Switch# touch /var/log/Switch/informationStep 2: Edit the file “/etc/syslog.conf” as the super user (root user) to add the following selector/actionpairs.# Switch configuration messageslocal4.info /var/log/Switch/information