Common SNMP faults may be caused by the following two causes:
Packets cannot be exchanged between the host and the NMS.
Configurations are incorrect.
Perform the following steps:
Run the ping command to check whether the host and the NMS can successfully ping each other.
If the ping fails, see The Ping Operation Fails to locate the problem so that the host and NMS can ping each other.
If the ping succeeds, the host and the NMS are reachable. Go to Step 2.
Check whether the SNMP configuration on the host is correct.
Item | Method | Troubleshooting Procedure |
|---|---|---|
Check whether the host supports the SNMP version used by the NMS for sending a login request. | Run the display snmp-agent sys-info version command to view the SNMP version of the host. | If the host does not support the SNMP version, run the snmp-agent sys-info version command to set the SNMP version on the host. |
View the community string configured on the host. | Run the display snmp-agent community command. | If the community string used by the NMS for sending a login request is different from that configured on the host, run the snmp-agent community command to configure a read-write community string, which must be identical to that configured on the host. |
If SNMPv3 is used, check whether information about the SNMP user group and users is correct. | If information is incorrect, modify the configurations. |
Run the snmp-agent group command to view information about the SNMPv3 user group.
Run the snmp-agent usm-user command to view information about the SNMPv3 user.
Run the display snmp-agent group command to view information about the SNMPv3 user group.
Run the display snmp-agent usm-user command to view the SNMPv3 user information.
If the SNMP configuration is incorrect, modify the configuration based on Table 1.
If the SNMP configuration is correct, go to step 3.
Run the display snmp-agent community command to view the community string configured on the host.
If the IP address from which the NMS sends login requests is denied by the ACL, run the rule command to enable the ACL to permit the IP address from which the NMS sends login requests.
If the IP address from which the NMS sends login requests is permitted by the ACL, go to Step 4.
Collect the following information and contact technical support personnel:
Results of the preceding troubleshooting procedure
Configuration files, log files, and alarm files of the devices