Chapter 7 Firewall : Building firewall objects and policies : Firewall Schedule - One-time
  
Firewall Schedule - One-time
The company wants to change over their web site image to reference the new year. They have decided to take this opportunity to do some hardware upgrades as well. Their web site is business oriented so they have determined that over New Year’s Eve there will be very limited traffic.
They are going to need a maintenance window of 2 hours bracketing midnight on New Year’s Eve.
Go to Policy & Objects > Objects > Schedule. Then select Create New > Schedule.
Fill out the fields with the following information:
Type
One-time
Name
NewYearsEve_Maintenance
Start Date
2014/12/31 <use the built in calendar>
End Date
2015/01/01 <use the built in calendar>
Start Time
Hour: 23, Minute: 0
Stop Time
Hour: 1Minute: 0
Pre-expiration event log
<disable>
Select OK
Enter the following CLI command:
config firewall schedule onetime
edit maintenance_window
set start 23:00 2012/12/31
set end 01:00 2013/01/01
next
end
To verify that the schedule was added correctly:
Go to Policy & Objects > Objects > Schedule
Check that the schedule with the name you used has been added to the list of recurring schedules and that the listed settings are correct.
Enter the following CLI command:
config firewall schedule onetime
edit <the name of the schedule you wish to verify>
show full-configuration