< Home

SNMP/4/SNMP_FAIL

Message

SNMP/4/SNMP_FAIL:Failed to login through SNMP. (Ip=[STRING], Times=[ULONG], Reason=[STRING], VPN=[STRING])

Description

A user failed to log in using SNMP, and the IP address and number of login attempts of the user were recorded.

Parameters

Parameter Name Parameter Meaning

Ip

Source IP address

Times

Number of login attempts

Reason

Reason of the login failure

VPN

Name of a VPN instance

Possible Causes

Possible causes are as follows:

  • 1. The SNMP version was incorrect.
  • 2. SNMP messages were over-sized.
  • 3. Messages failed to be added to the message list.
  • 4. A PDU decoding error occurred.
  • 5. The community was incorrect.
  • 6. The ACL filter function was faulty.
  • 7. The value of contextname was incorrect.
  • 8. Authorization failed
  • 9. Access denied

Procedure

  • 1. The SNMP version was incorrect.

    Run the snmp-agent sys-info command to change the SNMP version.

  • 2. SNMP messages were over-sized.

    Run the snmp-agent packet max-size command to increase the size of SNMP messages that can be sent and received.

  • 3. Messages failed to be added to the message list.

    Decrease the rate of sending NMS request messages.

  • 4. A PDU decoding error occurred.

    Check whether the engine ID carried in NMS request messages is the same as that of the device. Alternatively, check whether the authentication or encryption password of the SNMPv3 user on the NMS is correct.

  • 5. The community was incorrect.

    Run the snmp-agent community command to configure a correct community.

  • 6. The ACL filter function was faulty.

    Run the snmp-agent acl command to modify the SNMP ACL (This command is supported in V200R005 and later versions).

  • 7. The value of contextname was incorrect.

    Leave contextname empty or enter a hyphen (-) for it.

  • 8: The authorization failed.

    Check whether the SNMP community name or user permissions are correct. If not, run the snmp-agent community or snmp-agent usm-user command to correct the community name or user permissions.

  • 9: The access is denied.

    Check whether the device configurations in the SNMP view are correct and run the snmp-agent mib-view command to reconfigure information in the MIB view.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >