You configure static time-of-day PCC rule activation and deactivation
to specify when to activate or deactivate a rule or rulebase within
a static PCEF profile.
Before you configure static time-of-day PCC
rule activation and deactivation, configure the NTP server.
To configure static time-of-day PCC rule or rulebase
activation and deactivation within a PCEF profile:
- Specify a name for a time-of-day profile.
[edit unified-edge pcef]
user@host# set pcc-time-of-day-profiles profile-name
- Specify the activation time in the
time-of-day profile.
[edit unified-edge pcef pcc-time-of-day-profiles profile-name]
user@host# set rule-activation-time <day-of-week | day-of-month month> <hour:min>
You can specify the time of day, the day, and the month of the
year. The day can be expressed as the day of the month (DAY1 through DAY31 or Last-day-of-month) or the day of the week (for example, MONDAY). If you specify the day of the month, you can
also specify the month of the year. If a time zone is configured on
the router, the time-of-day settings apply to the configured time
zone.
- Specify the deactivation time in the time-of-day profile.
Use the same combination of options that you used in Step 2.
[edit unified-edge pcef pcc-time-of-day-profiles profile-name]
user@host# set rule-deactivation-time <day-of-week | day-of-month month> <hour:min>
If a day is not specified and the deactivation time of day setting
is earlier than the activation time of day setting, then a rule is
deactivated the day after it is activated.
- Within a static PCEF profile, apply the time-of-day profile
to individual rules or rulebases.
[edit unified-edge pcef profiles profile-name static-policy-control]
user@host# set pcc-rules rule-name precedence number time-of-day-profile profile-name
user@host# set pcc-rulebases rulebase-name time-of-day-profile profile-name
Those rules or rulebases use the activation and deactivation
settings for subscribers assigned to the PCEF profile.