SNMP/4/SNMP_FAIL
日志信息
SNMP/4/SNMP_FAIL:Failed to login through SNMP. (Ip=[STRING], Times=[ULONG], Reason=[STRING], VPN=[STRING])
可能原因
SNMP登录失败可能有以下原因:
- 原因1:the version was incorrect
- 原因2:the packet was too large
- 原因3:the messages was failed to be added to the message list
- 原因4:decoded PDU error
- 原因5:the community was incorrect
- 原因6:the ACL filter function
- 原因7:the contextname was incorrect
- 原因8:authorization failed
- 原因9:access denied
处理步骤
- 原因1:the version was incorrect
请执行snmp-agent sys-info命令修改SNMP的版本号。
- 原因2:the packet was too large
请执行snmp-agent packet max-size命令增大代理能接收和发送的SNMP消息包的最大值。
- 原因3:the messages was failed to be added to the message
list
请降低网管请求报文的发送速率。
- 原因4:decoded PDU error
请确认网管请求报文中的引擎ID与设备的引擎ID是否一致,或者确认网管侧SNMPv3用户的认证密码或加密密码是否正确。
- 原因5:the community was incorrect
请执行snmp-agent community命令配置正确的团体名。
- 原因6:the ACL filter function
请执行snmp-agent acl(V200R005及之后版本支持此命令)命令修改SNMP的访问控制列表。
- 原因7:the contextname was incorrect
请将contextname修改为空或短横线。
-
原因8:authorization failed
确认SNMP团体名或用户权限是否正确,并执行snmp-agent community或snmp-agent usm-user修改权限。
-
原因9:access denied
检查设备的SNMP视图配置是否正确,并执行snmp-agent mib-view命令重新配置MIB视图信息。