User's Manual

582
periodic weekdays 09:00 to 18:00
time-range entry: y (empty)
time-range entry: z (active)
periodic daily 12:00 to 13:00
periodic Monday Thursday Friday 08:00 to 09:00
periodic Saturday 15:00 to Sunday 20:00
periodic daily 9:00 AM to 6:00 PM
Switch_config#
In the first line shows Now: Date: 2016.3.4 Time: 13:16 Day: Tuesday”, which means the date is 4th March,
2016; the time is 13:16; the day is Tuesday.
Subsequently the screen shows the configuration and status of Time Ranges which named x, y and z respectively.
Time Range x has two items: absolute time and period, and it is in the inactive state; Time Range y has no item and it is in
the empty state; Time Range z has 4 periods and it is in active state.
84.4
Configuration
Example
The following example shows how to apply a Time Range named sample to a rule of extensible IP ACL ex.
Switch_config# time-range sample
Switch_config_tr# periodic monday 12:00 to 13:00
Switch_config_tr# exit
Switch_config# ip access-list extended ex
Switch_config_ext#
Switch_config_ext# permit ip 192.168.213.180 255.255.255.255 any time-range sample
Switch_config_extl# exit