Information Center Configuration Examples; Outputting Log Information To A Unix Log Host - H3C S5500-EI series Operation Manual

Hide thumbs Also See for S5500-EI series:
Table of Contents

Advertisement

Operation Manual – Information Center
H3C S5500-EI Series Ethernet Switches
Display the state of the
trap buffer and the trap
information recorded
Reset the log buffer
Reset the trap buffer

1.4 Information Center Configuration Examples

1.4.1 Outputting Log Information to a Unix Log Host

I. Network requirements
Send log information to a Unix log host with an IP address of 1.2.0.1/16;
Log information with severity higher than informational will be output to the log
host;
The source modules are ARP and IP.
II. Network diagram
Figure 1-1 Network diagram for outputting log information to a Unix log host
III. Configuration procedure
Before the configuration, make sure that there is a route between Device and PC.
1)
Configuring the device
# Enable information center.
<Sysname> system-view
[Sysname] info-center enable
# Specify the host with IP address 1.2.0.1/16 as the log host, use channel loghost to
output log information (optional, loghost by default), and specify local4 as the logging
facility.
[Sysname] info-center loghost 1.2.0.1 channel loghost facility local4
# Disable the output of log, trap, and debugging information of all modules on the
channel loghost.
To do...
display trapbuffer [ size
buffersize ]
reset logbuffer
reset trapbuffer
Chapter 1 Information Center Configuration
Use the command...
1-15
Remarks
Available in any view
Available in user view
Available in user view

Advertisement

Table of Contents
loading

Table of Contents