Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
info-center enable
The information center is enabled.
By default, the information center is enabled.
Step 3
Run:
commit
The configuration is committed.
----End
4.7.2 (Optional) Specifying a Source Interface for Sending Logs to
a Log Host
This section describes how to specify an interface for sending logs to a log host. This helps the
log host locate the router from which a log comes.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
info-center loghost source
interface-type
interface-number
An interface on the router is specified as the source interface for sending logs to the log host.
After the source interface is specified, if the router sends logs to the log host, the logs carry the
IP address of this interface as the source address. This helps the log host locate the router from
which the logs come, facilitating log search.
By default, the source interface is the interface that sends out logs.
Step 3
Run:
commit
The configuration is committed.
----End
4.7.3 Configuring Logs to Be Output to a Specified Log Host
After configuring logs to be output to a specified log host, you can view logs saved on the log
host to assist in understanding the operation status of the device.
HUAWEI NetEngine5000E Core Router
Configuration Guide - System Management
4 Log Management
Issue 01 (2011-10-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
106