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


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:

The sample schedule:

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:

  1. 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.
  2. user@host# edit services global schedule audioSchedule 
    
    
    

Enter a description of the schedule.

[edit services global schedule audioSchedule] 
user@host# set description description 

  1. From configuration mode, access the configuration statement that configures the schedule entry. Enter a name for the schedule entry; for example, audioTime1.
  2. user@host# edit services global schedule audioSchedule event audioTime1 
    
    
    
  3. 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).
  4. [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 
    
    
    
  5. From configuration mode, access the configuration statement that configures the schedule entry. Enter a name for the schedule entry; for example, audioTime2.
  6. user@host# edit services global schedule audioSchedule event audioTime2 
    
    
    
  7. 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).
  8. [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 
    
    
    

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