This output shows an example of creating a time-based named ACL.
It denies HTTP traffic on Monday through Friday between the hours of 8:00 am and 6:00 pm
and allows UDP traffic on Saturday and Sunday from noon to 8:00 pm.

!
time-range no-http
periodic weekdays 8:00 to 18:00
!
time-range udp-yes
periodic weekend 12:00 to 20:00
!
ip access-list extended strict
permit tcp any any eq http time-range no-http
permit udp any any time-range udp-yes
!
!
Keep in mind there is an explicit deny at the end of the ACL. If you are going to permit ip any any
at the bottom of ACL, keep in mind that there has to be a deny entry for tcp HTTP traffic. This is because
when time-range no http ACL is in inactive state, it looks for a matching rule that will either permit or deny HTTP traffic
.
!
Example of using a time-based ACL in QoS Policy:
!
class-map Traffic_Class
match access-group strict
!
policy-map QoS-Policy
class Traffic_Class
priority 500
class class-default
fair-queue