Scenario
For maintenance purposes, you would like to reboot the Zywall/USG automatically by schedule.
How can I achieve this?
Step by step guide
You can upload a shell script on the Zywall/USG and run the script on a schedule with your needed commands.
Create the shell script
1. Open a text editor.
2. Input your needed commands
As example the following for a reboot:
configure terminal
reboot
3. Save the file as reboot.zysh. It's only important, that it's file extension is zysh.
4. Upload the script on the Zywall/USG.
Setup the schedule for the script
1. Login into the Zywall/USG via console/telnet/SSH.
2. Enter the following commands:
Router# configure terminal
Router(config)# schedule-run 1 reboot.zysh daily 10:00
The device will reboot everyday at 10 o'clock.
Router# configure terminal
Router(config)# schedule-run 1 reboot.zysh weekly 10:00 sun
The device will reboot every Sunday at 10 o'clock.
Router# configure terminal
Router(config)# schedule-run 1 reboot.zysh monthly 10:00 23
The device will reboot every month on the 23th at 10 o'clock.
Verification
Setup the schedule to some minutes after the current time and check, if the Zywall/USG is restarting.