Troubleshooting Procedure
Context
NOTE
Saving the results of each troubleshooting step is recommended. If your troubleshooting fails to correct
the fault, you will have a record of your actions to provide Huawei technical support personnel.
Procedure
Step 1 Check whether the SNMP configurations on the host are correct.
l If the SNMP configurations are correct, go to Step 2.
l If the SNMP configurations are incorrect, change the configuration based on the following
configuration cases.
Table 2-2 Typical SNMP configurations
Configuration Case Command
Configure a destination host running
SNMPv2c, with the destination port
number being 162 (default value), the
security name being huawei, and the
IP address being 192.168.1.1.
<Huawei> system-view
[Huawei] snmp-agent target-host trap-
paramsname abc v2c securityname huawei
[Huawei] snmp-agent target-host trap-
hostname aaa address 192.168.1.1 trap-
paramsnam abc
Configure a destination host running
SNMPv3, with the user name being
huawei. The user belongs to the user
group named huawei_group and has
Huawei_view as the notify rights
(notify-view).
NOTE
With Huawei_view, the user can access all
nodes from the iso subtree.
# Configure a MIB view.
<Huawei> system-view
[Huawei] snmp-agent mib-view Huawei_view
include iso
# Configure a user group.
[Huawei] snmp-agent group v3 huawei_group
noauth read-view Huawei_view write-view
Huawei_view notify-view Huawei_view
# Configure a user.
[Huawei] snmp-agent usm-user v3 huawei
huawei_group
Configure a destination host running
SNMPv3, with the user name being
huawei and the IP address being
192.168.1.1.
NOTE
huawei must be an existing user name.
<Huawei> system-view
[Huawei] snmp-agent target-host trap-
paramsname abc v3 securityname huawei
authentication
[Huawei] snmp-agent target-host trap-
hostname aaa address 192.168.1.1 trap-
paramsname abc
Step 2 Run the display snmp-agent trap all command to check whether the trap function is enabled.
l If the trap function is not enabled, run the snmp-agent trap enable command to enable the
host to send trap messages.
l If the trap function is enabled, go to Step 3.
Step 3 Check whether the log message indicating that a specific trap is generated exists on the host.
Huawei AR2200-S Series Enterprise Routers
Troubleshooting 2 System
Issue 01 (2012-01-06) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
30