The SNMP Host Cannot Connect to the NMS
Processing Procedure
Run the display logbuffer command to check whether logs indicating the login failure exist on the host.
Log |
Description |
Solution |
---|---|---|
Failed to login through SNMP, because the version was incorrect. (Ip=[STRING], Times=[ULONG]) |
The host does not support the SNMP version used by the NMS for sending a login request. |
Run the display snmp-agent sys-info version command to check whether the host supports the SNMP version used by the NMS for sending a login request. If the SNMP version supported by the host is inconsistent with that of the NMS, run the snmp-agent sys-info version command to configure the SNMP version of the host. |
Failed to login through SNMP, because the packet was too large. (Ip=[STRING], Times=[ULONG]) |
The size of a packet received on the host exceeds the threshold. |
Run the snmp-agent packet max-size command to set the maximum size of the packet. |
Failed to login through SNMP, because the community was incorrect. (Ip=[STRING], Times=[ULONG]) |
The configured community is incorrect. |
Run the display snmp-agent community command to view the current community name. If the community name used by the NMS for sending a login request is different from that configured on the host, run the snmp-agent community { read | write } community-name command to configure a read-write community name, which must be identical to that configured on the host. |
Failed to login through SNMP, because of the ACL filter function. (Ip=[STRING], Times=[ULONG]) |
The IP address is filtered by the ACL. |
Run the display acl {acl-number | name acl-name | all } command to view the ACL configured on the host. If the IP address used by the NMS for sending request is filtered by the ACL, run the rule [ rule-id ] { deny | permit } source { source-ip-address source-wildcard | any } command to allow the NMS with this IP address to access the host. |