[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
Example: Configuring Different Service Tiers for Different
Days with the CLI
This example shows how to configure a schedule for an
audio service to provide:
- Gold level of service on weekends
- Bronze level of service on weekdays
The sample schedule:
- Uses the Audio-Gold and Audio-Bronze services in the sample
data.
- Activates the Audio-Gold service and denies the Audio-Bronze
service on Saturday.
- Activates the Audio-Bronze service and denies and deactivates
the Audio-Gold service on Monday.
- Does not have a preparation time configured for the SAE.
For demonstration purposes, the sample schedule
is configured in the global configuration to make the service schedule
available to all subscribers to the two audio services. It is assumed
that subscribers are continuously logged in to the system to access
the audio services.
To configure a schedule to make the Audio-Gold
service available on Saturday and Sunday and the Audio-Bronze service
available for the rest of the week:
- From configuration mode, access the configuration statement
that configures the service schedule in the global configuration.
Enter a unique name for the service schedule; for example, audioSchedule.
- user@host# edit services global schedule audioSchedule
Enter a description of the schedule.
- [edit services global schedule audioSchedule]
- user@host# set description description
- From configuration mode, access the configuration statement
that configures the schedule entry. Enter a name for the schedule
entry; for example, audioTime1.
- user@host# edit services global schedule audioSchedule
event audioTime1
- For the time, specify the day of the week as Saturday.
For the actions, specify activate for the
Audio-Gold service (named Action-1) and deny-deactivate for the Audio-Bronze service (named Action-2).
- [edit services global schedule audioSchedule event audioTime1]
- user@host# set from day-of-week 6
- user@host# set action action-1 type activate
service Audio-Gold
- user@host# set action action-2 type deny-deactivate
service Audio-Bronze
- From configuration mode, access the configuration statement
that configures the schedule entry. Enter a name for the schedule
entry; for example, audioTime2.
- user@host# edit services global schedule audioSchedule
event audioTime2
- For the time, specify the day of the week as Monday. For
the actions, specify activate for the Audio-Bronze
service (named Action-1) and deny-deactivate for the Audio-Gold service (named Action-2).
- [edit services global schedule audioSchedule event audioTime2]
- user@host# set from day-of-week 1
- user@host# set action action-1 type activate
service Audio-Bronze
- user@host# set action action-2 type deny-deactivate
service Audio-Gold
Related Topics
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]