不涉及
现场imc部署snmp网管S7504E-XS,将S7504E-XS识别设备为PC,两端能互ping通。
1.在设备上开启SNMP协议,查看两端配置参数,参数一致(核对参数也可在IMC做SNMP测试);
2.确认网络中没有防火墙过滤UDP161和UDP162报文,重点检查iMC服务器本地的防火墙;
3.查看设备CPU利用率,17%左右,且snmp只占了7%左右,CPU利用率正常;
4.查看设备相关进程信息:
<H3C>dis process name snmpd
Job ID: 770737
PID: 770737
Parent JID: 1
Parent PID: 1
Executable path: /sbin/snmpd
Instance: 0
Respawn: ON
Respawn count: 1
Max. spawns per minute: 12
Last started: Mon Dec 17 10:39:04 2018
Process state: running
Max. core: 1
ARGS: --periodicaltrap=1
TID LAST_CPU Stack PRI State HH:MM S:MSEC Name
770737 3 84K 120 R 1695:46:55:990 snmpd ====》该进程一直处于running 状态,持续了1695个小时
770738 3 84K 120 S 0:36:51:640 snmpd
770739 1 84K 120 S 3:23:16:680 snmpd
<H3C>sy
System View: return to User View with Ctrl+Z.
[H3C]prob
[H3C-probe]display system internal handle-info job 770737 ====》由于进程号太大,超过65535的限制,所以敲不出来。
^
% Wrong parameter found at '^' position.
设备使能了STP PVST模式
stp instance 0 root primary
stp vlan 302 priority 36864
stp mode pvst
stp global enable
之前相关局点在【10500V7B70D031SP维护分支】walk mib节点dot1dStpPortTable时,响应时间长,snmp会超时,建议升级到7577P04版本解决;
临时规避方案:
配置pvst后网管不要访问dot1dStpPortTable表;设备也可以配置跳过访问dot1dStpPortTable表:
snmp-agent mib-view included test iso
snmp-agentmib-view excluded test dot1dStpPortTable
#读取的团体增加mib-view
snmp-agent community read szfh mib-view test
snmp命令卡住时恢复方法:
先停掉网管,不要snmp再访问设备;通过下述命令重启snmp进程,命令行会挂住约30分钟,请耐心等待;进程重启成功后增加上面的规避配置;打开网管并确认是否恢复正常。
[H3C-probe]process restart name snmpd #下发y后命令会挂住约30分钟
Manually restarting a process might severely affect device operation.Perform th
is operation only under the guidance of H3C engineers. Continue?[Y/N]:y
Restarting process snmpd[1087] on chassis 1 slot0...
Succeeded.
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作