The system view is displayed.
Step 2 Run:
snmp-agent target-host inform address udp-domain ip-address [ udp-port port-
number ] [ vpn-instance vpn-instance-name ] params securityname security-string v2c
The destination host to which Informing messages are sent is configured.
Only SNMPv2c support the Informing mode.
To enable the switch to propagate the alarms in Informing mode, you can use the snmp-agent
trap enable command in conjunction with the snmp-agent target-host inform command.
----End
1.18.5 (Optional) Configuring Global Parameters for the Informing
Mode
If the current network is unstable, you need to increase the timeout period for confirming the
alarm. At the same time, you need to increase the retransmission times and the maximum number
of pending alarms.
Context
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 inform { timeout seconds | resend-times times | pending number }*
The timeout period for waiting for Informing ACK messages, the times to re-send Informing
messages, and the maximum pieces of pending alarms (alarms waiting for being acknowledged)
are set.
By default, the timeout period for waiting for Informing ACK messages is 15 seconds, the times
to re-send Informing messages are set to 3, and the maximum pieces of pending alarms (alarms
waiting for being acknowledged) are 39.
----End
Postrequisite
If the current network is unstable, you must set a longer timeout period for waiting for Informing
ACK messages and simultaneously increase the times to re-send Informing messages and the
maximum pieces of pending alarms (alarms waiting for being acknowledged).
1 SNMP Configuration
Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management
1-64 Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 03 (2010-09-20)