The queue length depends on the number of generated trap messages. If the switch
frequently generates trap messages, a longer queue length can be set to prevent trap
messages from being lost.
3.
Run:
snmp-agent trap life
seconds
The lifetime of every trap message is set.
The lifetime of every trap message depends on the number of generated trap messages. If
the switch frequently generates trap messages, a longer lifetime can be set for every trap
message to prevent trap messages from being lost.
Configuring inform parameters
:
1.
Run:
snmp-agent inform
{
timeout
seconds
|
resend-times
times
|
pending
number
}
*
The timeout period for waiting for Inform ACK messages, number of inform
retransmissions, and allowable maximum number of informs to be acknowledged are set.
If the network is unstable, you need to specify the number of inform retransmissions and
allowable maximum number of informs to be acknowledged when you set a timeout period
for waiting for Inform ACK messages. By default, the timeout period for waiting for Inform
ACK messages is 15 seconds; the number of inform retransmissions is 3; the allowable
maximum number of informs waiting to be acknowledged is 39.
Setting the number of inform retransmissions to a value smaller than or equal to 10 is
recommended. Otherwise, device performance will be affected.
2.
Run:
snmp-agent inform
{
timeout
seconds
|
resend-times
times
}
*
address
udp-
domain
ip-address
[
vpn-instance
vpn-instance-name
]
params
securityname
security-string
The timeout period for waiting for Inform ACK messages from a specified NM station and
the number of inform retransmissions are set.
If the network is unstable, you need to specify the number of inform retransmissions and
allowable maximum number of informs to be acknowledged when you set a timeout period
for waiting for Inform ACK messages. By default, the timeout period for waiting for Inform
ACK messages is 15 seconds, and the number of inform retransmissions is 3.
Setting the number of inform retransmissions to a value smaller than or equal to 10 is
recommended. Otherwise, device performance will be affected.
3.
Run:
snmp-agent notification-log enable
The alarm logging function is enabled.
If the link between the switch and the NM station fails, the switch will stop sending informs
to the NM station because the NM station is unroutable but the switch will continue logging
informs. If the link recovers, the NM station will learn the informs logged by the switch
during the link failure.
After the alarm logging function is enabled, the system logs only informs, not traps.
By default, the alarm logging function is disabled.
4.
Run:
Quidway S5700 Series Ethernet Switches
Configuration Guide - Network Management
1 SNMP Configuration
Issue 01 (2011-10-26)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
23