有时信号差无法获取地址,重启modem会恢复,有无自动配置可以重启modem?
配置NQA探测,信号低中断时重新拨号:
#
nqa agent enable
#名称不要改,改的话snmp oid需要改。
nqa entry 1 1
type icmp-echo
data-size 20
destination ip x.x.x.x ---- 这里配置一个可以ping通的远端地址。
frequency 20000 ---- 20秒发一个探测报文。这个时间可以根据用户需求调整。
probe timeout 3000
out interface eth-channel 1/0:0
reaction 1 checked-element probe-fail threshold-type consecutive 9 action-type none --- 连续9次(3分钟)失败则重启modem。
#
nqa schedule 1 1 start-time now lifetime forever
#
snmp-agent
#
rtm cli-policy 1
event snmp oid 1.3.6.1.4.1.25506.8.3.1.13.1.11.1.49.1.49.1 monitor-obj get start-op eq start-val 2 restart-op eq restart-val 3 interval 5
action 0 cli system-view
action 1 cli controller Cellular1/1
action 2 cli modem reboot
user-role network-admin
commit
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作