[Contents] [Prev] [Next] [Index] [Report an Error]

# 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:

`

shared sae configuration time-based-policies {
  action-threshold action-threshold;
  preparation-time preparation-time;
  max-worker-threads max-worker-threads;
}

`

To set the action threshold and preparation time for an SAE:

1. From configuration mode, access the configuration statement that configures time-based policies.
   `
   user@host# edit shared sae configuration time-based-policies
   `
2. Configure the maximum delay that the service allows for a time-related change to occur. The recommended range is 60000–300000 milliseconds. The minimum value supported is 60000 milliseconds.
   `
   [edit shared sae configuration time-based-policies]
   user@host# set action-threshold action-threshold
   `
3. 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.

4. (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
   `
5. (Optional) Verify your configuration.
   `
   [edit shared sae configuration time-based-policies]
   user@host# show
   `

#### Related Topics

- Overview of Service Schedules
- Adding a Service Schedule (SRC CLI)
- Setting the Action Threshold and Preparation Time (C-Web Interface)
- Setting the Time Schedule (SRC CLI)
- Setting the Action for a Service Schedule (SRC CLI)

[Contents] [Prev] [Next] [Index] [Report an Error]