![Huawei Quidway S9300 Скачать руководство пользователя страница 87](http://html.mh-extra.com/html/huawei/quidway-s9300/quidway-s9300_configuration-manual-network-management_169487087.webp)
Context
CAUTION
The source interface to send trap messages configured on the switch must be the same as that
configured on the NM Station; otherwise, the NM Station discards trap messages because of
unmatched addresses.
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 source
interface-type
interface-number
The source interface to send Trap messages is configured.
----End
Postrequisite
NOTE
The IP address of the specified source interface is the source IP address of the Trap message.
At present, the IPv6-based NM station does not support this function.
1.17.6 (Optional) Setting the Queue Length of Trap Messages
To ensure that trap messages can be sent to the NM Station, you are required to adjust the length
of the trap queue according to the number of trap messages.
Context
TIP
Increase the queue length with 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 queue-size
size
The queue length of Trap messages sent to the destination host is set.
Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management
1 SNMP Configuration
Issue 03 (2010-09-20)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1-59