# PCC-TimeDef Configuration Mode Commands

The PCC-TimeDef Configuration Mode is used to configure various time definitions (TimeDefs) in the PCC-service instance. A PCC-TimeDef specifies the start and end time for triggering policy-related procedures or conditions.

IMPORTANT:

This configuration mode is supported from StarOS Release 12.1 onward.

IMPORTANT:

The commands or keywords/variables that are available are dependent on platform type, product version, and installed license(s).
end

Exits the current configuration mode and returns to the Exec mode.
Product:

All
Privilege:

Security Administrator, Administrator
Syntax

    end

Usage:

Use this command to return to the Exec mode.
exit

Exits the current mode and returns to the parent configuration mode.
Product:

All
Privilege:

Security Administrator, Administrator
Syntax

    exit

Usage:

Use this command to return to the parent configuration mode.
start date

This command defines PCC-TimeDefs with a start and end dates with time for an event to trigger a procedure or condition in an IP-CAN session.
Platform:

ASR 5000
Product:

All
Privilege:

Security Administrator, Administrator
Syntax

    [no] start date start_date time start_time end date end_date time end_time

no

Removes the specified time definition.
date start_date

Specifies the start date start_date in MM/DD/YY format.
Following format is used for MM/DD/YY in start_date:

- MM specifies the month of the start date from January through December and must be an integer between 1 through 12.
- DD specifies the date of month of the start date 1 through 31 and must be an integer between 1 through 31.
- YY specifies the year of the start date from 2010 through 2037 and must be an integer between 10 through 37.

time start_time

Specifies the start time start_time in HH MIN SS format.
Following format is used for HH MIN SS in start_time:

- HH specifies the hour of the start date in 24 hour format and must be an integer between 00 through 23.
- MIN specifies the minutes of the hour of the start date must be an integer between 00 through 59.
- SS specifies the seconds of the minute of the start date must be an integer between 00 through 59.

end date end_date

Specifies the end date end_date in MM/DD/YY format.
Following format is used for MM/DD/YY in end_date:

- MM specifies the month of the end date from January through December and must be an integer between 1 through 12.
- DD specifies the date of month of the end date 1 through 31 and must be an integer between 1 through 31.
- YY specifies the year of the end date from 2010 through 2037 and must be an integer between 10 through 37.

time end_time

Specifies the end time end_time in HH MIN SS format.
Following format is used for HH MIN SS in end_time:

- HH specifies the hour of the end date in 24 hour format and must be an integer between 00 through 23.
- MIN specifies the minutes of the hour of the end date must be an integer between 00 through 59.
- SS specifies the seconds of the minute of the end date must be an integer between 00 through 59.

Usage:

Use this command to define a PCC-TimeDef with a start and end dates with time for an event to trigger a procedure or condition in an IP-CAN session.
Example:
The following command defines a PCC-TimeDef with start date as December 31st 2010 at 00 Hrs. 30 mins. and 00 seconds and end date as January 31st 2011 at 23 Hrs. 59 mins. and 59 seconds:

    start date 12/31/10 time 00 30 00 end date 01/31/11 time 23 59 59

start day

This command defines PCC-TimeDefs with a start and end week days with time for an event to trigger a procedure or condition in an IP-CAN session.
Platform:

ASR 5000
Product:

All
Privilege:

Security Administrator, Administrator
Syntax

    [no] start day start_weekdays time start_time end day end_weekdays time end_time

no

Removes the specified time definition.
day start_weekdays

Specifies the start day as week days.
Following days are used as start_weekdays:

- friday specifies Friday of the week as start day.
- monday specifies Monday of the week as start day.
- saturday specifies Saturday of the week as start day.
- sunday specifies Sunday of the week as start day.
- thrusday specifies Thursday of the week as start day.
- tuesday specifies Tuesday of the week as start day.
- wednesday specifies Wednesday of the week as start day.

time start_time

Specifies the start time start_time in HH MIN SS format.
Following format is used for HH MIN SS in start_time:

- HH specifies the hour of the start day in 24 hour format and must be an integer between 00 through 23.
- MIN specifies the minutes of the hour of the start day must be an integer between 00 through 59.
- SS specifies the seconds of the minute of the start day must be an integer between 00 through 59.

end day end_weekdays

Specifies the end day as week days.
Following days are used as end_weekdays:

- friday specifies Friday of the week as end day.
- monday specifies Monday of the week as end day.
- saturday specifies Saturday of the week as end day.
- sunday specifies Sunday of the week as end day.
- thrusday specifies Thursday of the week as end day.
- tuesday specifies Tuesday of the week as end day.
- wednesday specifies Wednesday of the week as end day.

time end_time

Specifies the end time end_time in HH MIN SS format.
Following format is used for HH MIN SS in end_time:

- HH specifies the hour of the end day in 24 hour format and must be an integer between 00 through 23.
- MIN specifies the minutes of the hour of the end day must be an integer between 00 through 59.
- SS specifies the seconds of the minute of the end day must be an integer between 00 through 59.

Usage:

Use this command to define a PCC-TimeDef with a start and end weekdays with time for an event to trigger a procedure or condition in an IP-CAN session.
Example:
The following command defines a PCC-TimeDef with start day as Friday at 00 Hrs. 30 mins. and 00 seconds and end day as Sunday at 23 Hrs. 59 mins. and 59 seconds:

    start day friday time 00 30 00 end day sunday time 23 59 59

start time

This command defines PCC-TimeDefs with a start and end time of a day for an event to trigger a procedure or condition in an IP-CAN session.
Platform:

ASR 5000
Product:

All
Privilege:

Security Administrator, Administrator
Syntax

    [no] start time start_time end time end_time

no

Removes the specified time definition.
time start_time

Specifies the start time start_time in HH MIN SS format.
Following format is used for HH MIN SS in start_time:

- HH specifies the hour of the day in 24 hour format and must be an integer between 00 through 23.
- MIN specifies the minutes of the hour of the day must be an integer between 00 through 59.
- SS specifies the seconds of the minute of the day must be an integer between 00 through 59.

end time end_time

Specifies the end time end_time in HH MIN SS format.
Following format is used for HH MIN SS in end_time:

- HH specifies the end hour of the day in 24 hour format and must be an integer between 00 through 23.
- MIN specifies the minutes of the end hour of the day must be an integer between 00 through 59.
- SS specifies the seconds of the minute of the end hour must be an integer between 00 through 59.

Usage:

Use this command to define a PCC-TimeDef with a start and end time for an event to trigger a procedure or condition in an IP-CAN session.
Example:
The following command defines a PCC-TimeDef with start at 00 Hrs. 30 mins. and 00 seconds and end at 23 Hrs. 59 mins. and 59 seconds:

    start time 00 30 00 end time 23 59 59

time-slot

This command defines PCC-TimeDefs with a start and end week days with time for an event to trigger a procedure or condition in an IP-CAN session.
Platform:

ASR 5000
Product:

All
Privilege:

Security Administrator, Administrator
Syntax

    [ no ] time-slot slot_num{ start datestart_date time start_time end date end_date time end_time | start day start_weekdays time start_timeend day end_weekdays time end_time | start time start_time end time end_time

    [ no ] time-slot slot_num

no

Removes the specified time slot definition.
slot_num

Specifies the time slot number to be configured with this command and it must be an integer between 1 through 64.
date start_date

Specifies the start date start_date in MM/DD/YY format.
Following format is used for MM/DD/YY in start_date:

- MM specifies the month of the start date from January through December and must be an integer between 1 through 12.
- DD specifies the date of month of the start date 1 through 31 and must be an integer between 1 through 31.
- YY specifies the year of the start date from 2010 through 2037 and must be an integer between 10 through 37.

time start_time

Specifies the start time start_time in HH MIN SS format.
Following format is used for HH MIN SS in start_time:

- HH specifies the hour of the start date in 24 hour format and must be an integer between 00 through 23.
- MIN specifies the minutes of the hour of the start date must be an integer between 00 through 59.
- SS specifies the seconds of the minute of the start date must be an integer between 00 through 59.

end date end_date

Specifies the end date end_date in MM/DD/YY format.
Following format is used for MM/DD/YY in end_date:

- MM specifies the month of the end date from January through December and must be an integer between 1 through 12.
- DD specifies the date of month of the end date 1 through 31 and must be an integer between 1 through 31.
- YY specifies the year of the end date from 2010 through 2037 and must be an integer between 10 through 37.

time end_time

Specifies the end time end_time in HH MIN SS format.
Following format is used for HH MIN SS in end_time:

- HH specifies the hour of the end date in 24 hour format and must be an integer between 00 through 23.
- MIN specifies the minutes of the hour of the end date must be an integer between 00 through 59.
- SS specifies the seconds of the minute of the end date must be an integer between 00 through 59.

day start_weekdays

Specifies the start day as week days.
Following days are used as start_weekdays:

- friday specifies Friday of the week as start day.
- monday specifies Monday of the week as start day.
- saturday specifies Saturday of the week as start day.
- sunday specifies Sunday of the week as start day.
- thrusday specifies Thursday of the week as start day.
- tuesday specifies Tuesday of the week as start day.
- wednesday specifies Wednesday of the week as start day.

time start_time

Specifies the start time start_time in HH MIN SS format.
Following format is used for HH MIN SS in start_time:

- HH specifies the hour of the start day in 24 hour format and must be an integer between 00 through 23.
- MIN specifies the minutes of the hour of the start day must be an integer between 00 through 59.
- SS specifies the seconds of the minute of the start day must be an integer between 00 through 59.

end day end_weekdays

Specifies the end day as week days.
Following days are used as end_weekdays:

- friday specifies Friday of the week as end day.
- monday specifies Monday of the week as end day.
- saturday specifies Saturday of the week as end day.
- sunday specifies Sunday of the week as end day.
- thrusday specifies Thursday of the week as end day.
- tuesday specifies Tuesday of the week as end day.
- wednesday specifies Wednesday of the week as end day.

time end_time

Specifies the end time end_time in HH MIN SS format.
Following format is used for HH MIN SS in end_time:

- HH specifies the hour of the end day in 24 hour format and must be an integer between 00 through 23.
- MIN specifies the minutes of the hour of the end day must be an integer between 00 through 59.
- SS specifies the seconds of the minute of the end day must be an integer between 00 through 59.

time start_time

Specifies the start time start_time in HH MIN SS format.
Following format is used for HH MIN SS in start_time:

- HH specifies the hour of the day in 24 hour format and must be an integer between 00 through 23.
- MIN specifies the minutes of the hour of the day must be an integer between 00 through 59.
- SS specifies the seconds of the minute of the day must be an integer between 00 through 59.

end time end_time

Specifies the end time end_time in HH MIN SS format.
Following format is used for HH MIN SS in end_time:

- HH specifies the end hour of the day in 24 hour format and must be an integer between 00 through 23.
- MIN specifies the minutes of the end hour of the day must be an integer between 00 through 59.
- SS specifies the seconds of the minute of the end hour must be an integer between 00 through 59.

Usage:

Use this command to define a time slot with a start day, start time, and start date optiion for an event to trigger a procedure or condition in an IP-CAN session. A maximum of 12 time-slots can be configured through this command.
Example:
The following command defines a time slot 2 which will start on Friday at 00:30:00 and ends on Saturday at 23:00:00:

    start day friday start
    time 00 30 00 end day saturday time 23 00 00