Information Center Configuration Examples; Log Output To A Unix Log Host - H3C S7500 Series Operation Manual

Hide thumbs Also See for S7500 Series:
Table of Contents

Advertisement

Operation Manual – Information Center
H3C S7500 Series Ethernet Switches
Clear information recorded in log
buffer
Clear information recorded in trap
buffer

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 a
severity higher than "informational".
II. Network diagram
Switch
Figure 1-1 Network diagram for log output to a Unix log hos
III. Configuration procedure
1)
Configure the switch:
# Enable the information center.
<H3C> system-view
[H3C] info-center enable
# Disable for all modules the function of outputting information to log host channels.
[H3C] 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 a severity
higher than "informational" to the log host.
[H3C] info-center loghost 202.38.1.10 facility local4 language english
[H3C] info-center source arp channel loghost log level informational debug
state off trap state off
[H3C] info-center source ip channel loghost log level informational debug state
off trap state off
2)
Configure the log host:
To do...
Network
1-14
Chapter 1 Information Center
Use the command...
reset logbuffer
reset trapbuffer
PC
t
Remarks
Available
in user
view

Advertisement

Table of Contents
loading

Table of Contents