最佳答案
[AC] scheduler job reboot-sys
[AC- job reboot-sys ] command 1 reset wlan ap all
[AC- job reboot-sys ] command 2 y
配置定时执行任务,使设备在每天20:00重启AP:
[AC] scheduler schedule reboot
[AC-schedule-reboot] job reboot-sys
[AC-schedule-reboot] time repeating at 20:00
[AC-schedule-reboot] quit
(0)
您好,参考
配置设备定时重启job任务
参考:
[Sysname] display job
Job name: job1
Specified view: WLAN-Radio1/0/1
Time 1: Execute command undo shutdown at 08:00 Mondays Tuesdays Wednesdays Thursdays Fridays
Time 2: Execute command shutdown at 18:00 Mondays Tuesdays Wednesdays Thursdays Fridays
删除:undo job
AP的参考
Client访问无线网络,AC通过Switch连接AP,AC充当DHCP服务器,为AP和Client分配IP地址。现要求:配置定时执行任务功能每天8:00开启AC上关联AP的Radio1接口,每天20:00关闭AC上关联AP的Radio1接口。
(1) 有关Client接入无线网络的相关配置请参见“WLAN接入配置指导”中的“WLAN接入”。
(2) 配置定时执行任务
# 进入系统视图。
<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] 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)
配置步骤
<H3C> system-view
# 创建重启的Job。
[H3C] scheduler job reboot
[H3C-job-reboot]command 1 reboot
[H3C-job-reboot]command 2 Y
[H3C-job-reboot]quit
# 配置定时执行任务,使设备在每天22:30重启设备。
[H3C] scheduler schedule reboot
[H3C-schedule-reboot] job reboot
[H3C-schedule-reboot] time repeating at 22:30
[H3C-schedule-reboot] quit
保存配置
[H3C]save force
设置定时重启设备时间必须要准确,建议按照实际情况配置ntp时间同步,
(0)
直接上云简,通过云简配置,简单的一笔
(0)
还得是你靓仔
还得是你靓仔
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明