Palo Alto Networks Knowledgebase: How to Create a Schedule that Spans Two Days

How to Create a Schedule that Spans Two Days

3497
Created On 02/08/19 00:02 AM - Last Updated 02/08/19 00:02 AM
Policy
Resolution

Steps

To create a schedule which spans more than one day, for example from 10pm to 5am:

  • Create a schedule, go to Objects > Schedules.

    schedule.pngSchedule that spans past midnight should be split between PM and AM

  • Add the schedule to a policy, go to Policies tab.  Click on the Options link for a security policy.

    security policy with schedule.pngSecurity Policy Actions with a Schedule

  • To display the schedule setting, run command: 
    admin@myNGFW# show schedule    (add 'shared|vsys1|vsys2|...' for multiVSYS)
    schedule {
      multiday {
        schedule-type {
          recurring {
            daily [ 22:00-23:59 00:00-05:00];
          }
        }
      }
    }
    [edit]                     

 

 

If time spanning multiple days is put in a single schedule (eg. start 22:00 end 05:00) an error message will appear:

error message.pngEnd time is earlier that start time error message

 

owner: kkondo



Attachments
Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClZOCA0&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Attachments
Choose Language