Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

scheduler (Security Policies)

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
 scheduler scheduler-name {
    daily { 
        (all-day | exclude | start-time hh:mm stop-time hh:mm);
    }
    description text;
    friday {
        (all-day | exclude | start-time hh:mm stop-time hh:mm);
    }
     monday {
         (all-day | exclude | start-time hh:mm stop-time hh:mm);
    }
    saturday {
         (all-day | exclude | start-time hh:mm stop-time hh:mm);
    }
    start-date date-time stop-date date-time;
    sunday {
        (all-day | exclude | start-time hh:mm stop-time hh:mm);
    }
     thursday {
         (all-day | exclude | start-time hh:mm stop-time hh:mm);
    }
     tuesday {
        (all-day | exclude | start-time hh:mm stop-time hh:mm);
    }
     wednesday {
        (all-day | exclude | start-time hh:mm stop-time hh:mm);
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit schedulers]
[edit tenants <tenant-name> schedulers]

Description

Create or modify a scheduler that defines when security policies are in effect.

You configure a scheduler to start at a specific date and time or start on a recurrent basis.

Options

scheduler-name—Name of the scheduler. The scheduler name must consist of 1 to 63 characters that can be letters, numbers, dashes, and underscores and can begin with a number or letter.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

security—To view this statement in the configuration.

security-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 8.5. The description option added in Junos OS Release 12.1. The scheduler option added under the set tenants tenant-name schedulers hierarchy in Junos OS Release 18.3R1.

footer-navigation