Setting the Action Threshold and Preparation Time (SRC CLI)
You can set the action threshold and preparation time for all schedules; you cannot set these values for individual schedules.
Use the following configuration statements to set the action threshold and preparation time:
To set the action threshold and preparation time for an SAE:
From configuration mode, access the configuration statement that configures time-based policies.user@host# edit shared sae configuration time-based-policies
Configure the maximum delay that the service allows for a time-related change to occur. The recommended range is 60,000–300,000 milliseconds. The minimum value supported is 60,000 milliseconds.[edit shared sae configuration time-based-policies]user@host# set action-threshold action-threshold
Configure the preparation time permitted for a state transition.[edit shared sae configuration time-based-policies]user@host# set preparation-time preparation-time
When you set a value for the preparation time, take into consideration system load and performance. Factors such as the number of subscribers, the number of active services, the number of schedule services, the speed of the processor on the system, as well as other conditions might affect the amount of time to process all the scheduled actions at a specified schedule time.
(Optional) Enable the disable-preparation-time option to prevent the SRC software from calculating the preparation time for scheduled events that contain only deactivate actions. By default, the disable-preparation-time option is disabled and the preparation time is calculated for all scheduled events, including those that contain only deactivate actions.[edit shared sae configuration time-based-policies]user@host# set disable-preparation-time
You can enable the disable-preparation-time option to ensure that the preparation time is applied only to activate events at the beginning of the service, and not to deactivate events at the end of the service. The preparation time is applied to scheduled events that contain various action types (such as activate, deactivate, deny, and deny-deactivate) even though the disable-preparation-time option is enabled.
(Optional) Configure the maximum number of threads for service scheduling.[edit shared sae configuration time-based-policies]user@host# set max-worker-threads max-worker-threads
(Optional) Verify your configuration.
[edit shared sae configuration time-based-policies] user@host# show action-threshold 1; disable-preparation-time; max-worker-threads 1; preparation-time 1;