Information Center Configuration Examples; Log Output To A Unix Log Host - 3Com 4210 9-Port Configuration Manual

Switch 4210 family
Hide thumbs Also See for 4210 9-Port:
Table of Contents

Advertisement

Operation
Clear information recorded in
the log buffer
Clear information recorded in
the trap buffer

Information Center Configuration Examples

Log Output to a UNIX Log Host

Network requirements
The switch sends the following log information to the Unix log host whose IP address is 202.38.1.10: the
log information of the two modules ARP and IP, with severity higher than "informational".
Network diagram
Figure 1-1 Network diagram for log output to a Unix log host
Configuration 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.
[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 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 trap
state off
[Switch] 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 super user (root user).
# mkdir /var/log/Switch
# touch /var/log/Switch/information
Step 2: Edit the file "/etc/syslog.conf" as the super user (root user) to add the following selector/action
pairs.
Command
reset logbuffer [ unit unit-id ]
reset trapbuffer [ unit unit-id ]
1-15
Description
Available in user
view

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 4210 9-Port and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF