Information Center Configuration Examples; Log Output To A Unix Log Host - Huawei Quidway S3900 Series Operation Manual

Hide thumbs Also See for Quidway S3900 Series:
Table of Contents

Advertisement

Operation Manual – Information Center
Quidway S3900 Series Ethernet Switches-Release 1510

1.4 Information Center Configuration Examples

1.4.1 Log Output to a Unix Log Host

I. Network requirements
The switch sends the following log information in English 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".
II. Network diagram
Switch
Switch
Switch
Figure 1-1 Network diagram for log output to a Unix log host
III. Configuration procedure
1)
Configure the switch:
# Enable the information center.
<Quidway> system-view
[Quidway] info-center enable
# Disable for all modules the function of outputting information to log host channels.
[Quidway] 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.
[Quidway] info-center loghost 202.38.1.10 facility local4 language english
[Quidway] info-center source arp channel loghost log level informational debug
state off trap state off
[Quidway] 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).
Network
Network
Huawei Technologies Proprietary
1-15
Chapter 1 Information Center
PC
PC

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents