May 1 2011 19:20:32 HUAWEI %%01ftpc/7/FTPC_MSG_RCVD(l):VR=0-CID=2157193000;FTPC
Component received a message (interface 1 subinterface 1).
May 1 2011 19:20:32 HUAWEI %%01tftpc/7/TFTPC_SMPOI_USER_LOGIN(l):VR=0-
CID=2157324073;TFTPC Component received new user login notification.
May 1 2011 19:20:32 HUAWEI %%01tftpc/7/TFTPC_MSG_RCVD_TYPE(l):VR=0-
CID=2157324073;TFTPC Component received a message (type 4).
4.5 Setting the Maximum Number of Traps to Be Displayed
This section describes how to set the number of trap messages to be displayed.
Applicable Environment
In the case of urgent and important events (such as the restart of the managed device), the device
generates logs and sends trap messages to the NMS through SNMP agent. Trap messages are
sent to the NMS from the managed device without any request. Users can view trap messages
on the device.
Pre-configuration Tasks
Before setting the number of trap messages to be displayed, complete the following tasks:
l
Confirming that the device is powered on correctly and the self-test is successful
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
info-center trapbuffer
Display of traps is enabled.
By default, display of traps is enabled.
Step 3
Run:
info-center trapbuffer
size
buffersize
The number of trap messages to be displayed is set.
By default, a maximum of 256 trap messages are displayed.
----End
Checking the Configuration
Run the
display trapbuffer
[
size
value
] command to view information about the trap buffer.
<HUAWEI>
display trapbuffer size 3
Trapping buffer configuration and contents : enabled
Allowed max buffer size : 1024
Actual buffer size : 512
Dropped messages : 0
Overwritten messages : 0
Current messages : 187
May 1 2011 19:20:32 HUAWEI %%01STANDARD/6/linkup:VR=0-CID=0x807a271c-OID=1.3.6.
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.
103