做个ac周日晚上自动重启ap的操作,按照操作做了如下配置
scheduler job reboot
command 1 reset wlan ap name AP1
command 2 y
scheduler schedule reboot
user-role network-admin
job reboot
time repeating at 03:05 week-day Sun
发现设备未重启,使用dis scheduler logfile 查看日志情况,结果如下
Job name : reboot
Schedule name : reboot
Execution time : Sun Sep 6 03:05:00 2026
Completion time : Sun Sep 6 03:05:02 2026
--------------------------------- Job output -----------------------------------
<ac_new>reset wlan ap name AP1
Resetting the APs will terminate the CAPWAP tunnels with the AC. Continue? [Y/N]:
<ac_new>y
^
% Unrecognized command found at '^' position.
看结果command 2 y这个命令被当作换行后使用,出现报错,但是没有这个命令,重启AP的命令也没有自动确认。
各位大佬,这个重启的问题有没有其他的方式,或这个命令哪里写法有问题
设置定时重启:
[AC] scheduler job reboot-sys
[AC- job reboot-sys ] command 1 reset wlan ap all
[AC- job reboot-sys ] command 2 y
配置定时执行任务,使设备在每天20:00重启系统:
[AC] scheduler schedule reboot
[AC-schedule-reboot] job reboot-sys
[AC-schedule-reboot] time repeating at 20:00
[AC-schedule-reboot] quit 参考这个试下
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
大写Y试下