HUAWEI NetEngine5000E Core Router
Configuration Guide - System Management
Step 4 Run:
snmp-agent trap source interface-type interface-number
The source interface for trap messages is specified.
After the source interface is specified, its IP address becomes the source IP address of trap
messages. Configuring the IP address of the local loopback interface as the source interface is
recommended, which can ensure device security.
The source interface specified on the router for trap messages must be consistent with that
specified on the NM station; otherwise, the NM station does not accept the trap messages sent
from the router.
Step 5 Run:
commit
The configuration is committed.
----End
3.4.5 (Optional) Configuring the Informs Function
The router enabled with the SNMP agent function can generate two notifications, namely, traps
and informs. Traps are messages alerting the NMS to a condition on the network. Informs are
traps that include a request for confirmation of receipt from the NMS (Informs are resent until
a reply is received). Informs are more reliable than traps.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
snmp-agent target-host [ host-name host-name ] inform address udp-domain ip-
address [ udp-port port-number ] [ vpn-instance vpn-instance-name ] params
securityname security-name [ v2c | v3 [ authentication | privacy ] ]
The target host that receives informs is configured.
Step 3 (Optional) Run:
snmp-agent inform { timeout seconds | resend-times times | pending number } *
The timeout period for waiting for inform Ack messages, number of times to resend informs,
and the maximum pieces of pending informs (Informs need to be acknowledged) are set.
By default, the timeout period for inform Ack messages is 15 seconds, the number of times to
resend informs is 3, and the maximum count of pending informs is 39.
Step 4 Run:
Issue 01 (2011-10-15)
NOTE
The IP address of the target host in this command must be an IPv4 address.
NOTE
If the network is unstable, you need to increase the timeout period. At the same time, you need to increase
the number of times to resend informs and the maximum count of pending informs.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3 SNMP Configuration
82
Need help?
Do you have a question about the NetEngine5000E and is the answer not in the manual?