![Huawei Quidway S9300 Configuration Manual - Network Management Download Page 88](http://html.mh-extra.com/html/huawei/quidway-s9300/quidway-s9300_configuration-manual-network-management_169487088.webp)
By default, the queue length contains 100 Trap messages.
----End
1.17.7 (Optional) Setting the Lifetime of Trap Messages
To ensure that trap messages can be sent to the NM Station, you are required to adjust the
reservation period of the trap messages according to the number of trap messages.
Context
TIP
Shorten the lifetime of Trap messages by using the preceding command when the switch frequently sends
Trap messages.
Do as follows on the switch enabled with the SNMP agent.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
snmp-agent trap life
seconds
The lifetime of Trap messages is set.
----End
1.17.8 Checking the Configuration
Prerequisite
The configurations of the Trap Functions are complete.
Procedure
Step 1
Run the
display current-configuration
|
include
trap
command to view the configuration
information of Trap messages.
----End
Example
Run the
display current-configuration
|
include
trap
command to view the configuration
information of Trap messages.
<Quidway>
display current-configuration configuration | include trap
snmp-agent trap enable
1.18 Propagating Alarms in the Inform Mode
In Inform mode, alarm logs can be recorded. When the communications between the NM Station
and the switch fails, the switch can record the alarm log. After the fault is rectified, the NM
1 SNMP Configuration
Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management
1-60
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 03 (2010-09-20)