CLI Reference Guide-R04

Table Of Contents
Chapter 4
| System Management Commands
Time Range
– 181 –
Example
This example configures a time range for the periodic occurrence of an event on a
daily basis from 1:01 AM to 2:01 AM.
Console(config)#time-range sales
Console(config-time-range)#periodic daily 1 1 to 2 1
Console(config-time-range)#
This example is exactly as the first example except the extra daily word is used but
the configuration is the same.
Console(config)#time-range sales
Console(config-time-range)#periodic daily 1 1 to daily 2 1
Console(config-time-range)#:
This example configures a periodic occurrence every Monday from 8:30 AM to 9:30
AM.
Console(config)#time-range monday+_breakfast
Console(config-time-range)#periodic monday 08 30 to monday 9 30
Console(config-time-range)#
This example configures a periodic occurrence every Monday from 6:30 AM to
Friday 6:30 PM.
Console(config)#time-range work_week
Console(config-time-range)#periodic monday 08 30 to friday 18 30
Console(config-time-range)#
This example configures a periodic occurrence every weekend (Saturday and
Sunday) from 6:00 AM to 6:00 PM.
Console(config)#time-range weekend
Console(config-time-range)#periodic weekend 0 6 to weekend 18:00
Console(config-time-range)#
This example removes a periodic occurrence as configured in the previous
example.
Console(config)#time-range weekend
Console(config-time-range)#no periodic weekend 0 6 to 18 00
Console(config-time-range)#