之前WAC361可以设定定时重启,
job reboot_everyday
view monitor
time 1 repeating at 03:10 command reboot
time 2 repeating at 03:10 command y
现在WAC381怎么整?
(0)
最佳答案
参考下面的,命令替换下就行
<AC> system-view
# 创建关闭射频接口1的Job。
[AC] scheduler job radio_disable
[AC-job-radio_disable] command 1 system-view
[AC-job-radio_disable] command 2 wlan ap ap1 model WA4320i-ACN
[AC-job-radio_disable] command 3 radio 1
[AC-job-radio_disable] command 4 radio disable
[AC-job-radio_disable] quit
# 配置定时执行任务,使设备在每天20:00关闭射频接口1。
[AC] scheduler schedule stop_radio
[AC-schedule-stop_radio][w050271] job radio_disable
[AC-schedule-stop_radio] time repeating at 20:00
[AC-schedule-stop_radio] quit
# 创建开启射频接口1的Job。
[AC] scheduler job radio_enable
[AC-job-radio_enable] command 1 system-view
[AC-job-radio_enable] command 2 wlan ap ap1 model WA4320i-ACN
[AC-job-radio_enable] command 3 radio 1
[AC-job-radio_enable] command 4 radio enable
[AC-job-radio_enable] quit
# 配置定时执行任务,使设备在每天8:00开启射频接口1。
[AC] scheduler schedule start_radio
[AC-schedule-start_radio] job radio_enable
[AC-schedule-start_radio] time repeating at 8:00
[AC-schedule-start_radio] quit
(0)
设置计划任务,例如:
scheduler reboot at scheduler reboot at命令用来配置设备重启的具体时间和日期。 假设系统的当前时间为2015年6月6日11:43,配置设备在每天20:00重启。
[AC] scheduler job reboot-sys
[AC-job-radio_disable] command 1 system-view
[AC-job-radio_disable] command 2 scheduler reboot at 12:00 Reboot system at 12:00:00 06/06/2015
[AC-job-radio_disable] command 3 Y
[AC-job-radio_disable] quit
配置定时执行任务,使设备在每天20:00重启系统:
[AC] scheduler schedule reboot
[AC-schedule-reboot] job reboot-sys
[AC-schedule-reboot] time repeating at 20:00
[AC-schedule-reboot] quit
(0)
command 2 scheduler reboot at 12:00 Reboot system at 12:00:00 06/06/2015这一段直接改成command 2 reboot可以吧
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明