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.
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > Context Configuration > PCC
Service Configuration > PCC TimeDef Configuration
configure > context
context_name
> pcc-service
service_name
> timedef
timedef_name
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-pcc-timedef)#
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 Guidelines
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