![Huawei NetEngine5000E Configuration Manual Download Page 110](http://html.mh-extra.com/html/huawei/netengine5000e/netengine5000e_configuration-manual_169429110.webp)
The system view is displayed.
Step 2
Run:
info-center filter-id
{
filter-id
|
bymodule-alias
modname
alias
}
One or multiple logs specified in this command are filtered out. Log IDs or alias names in this
command must be separated by spaces.
Step 3
Run:
commit
The configuration is committed.
----End
4.4 Setting the Maximum Number of Logs to Be Displayed
This section describes how to set the maximum number of logs to be displayed.
Applicable Environment
The system logs information about device operations in real time. You can view logs in the log
buffer to understand what happened during system operations.
Pre-configuration Tasks
Before setting the maximum number of logs to be displayed, complete the following tasks:
l
Making sure that the device is powered on
l
Ensuring that the device self-check succeeds
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
info-center logbuffer
size
buffersize
The maximum number of logs to be displayed is set.
By default, a maximum of 512 logs are displayed.
----End
Checking the Configuration
Run the
display logbuffer
[
starttime
starttime-value
[
endtime
endtime-value
] |
level
severity
|
size
value
]
*
command to view logs.
<HUAWEI>
display logbuffer size 5
May 1 2011 19:20:32 HUAWEI %%01ftpc/7/FTPC_SMPOI_USER_LOGIN(l):VR=0-
CID=2157193000;FTPC Component received new user login notification.
May 1 2011 19:20:32 HUAWEI %%01ftpc/7/FTPC_MSG_RCVD_TYPE(l):VR=0-
CID=2157193000;FTPC Component received a message (type 4).
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.
102