H3C S7500 Series Ethernet Switches Operation Manual

Operation Manual – Information Center
H3C S7500 Series Ethernet Switches Chapter 1
Information Cente
1-14
To do... Use the command... Remarks
Clear information recorded in log
buffer
reset logbuffer
Clear information recorded in trap
buffer
reset trapbuffer
Available
in user
view
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
Network
PCSwitch
t
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: