How to cofigure Cisco Time Based ACL

  • by

How to cofigure Cisco Time Based ACL

Router(config)#time-range work-hour
Router(config-time-range)#  absolute start 12:50 29 December 2011 end 14:05 29 December 2011

(Here start time 12:50 29 December 2011 and end time 14:05 29 December 2011.)

OR

Router(config-time-range)# periodic Monday Tuesday Wednesday Thursday Saturday Sunday 8:00 to 20:00

(Here all days of week from 8AM to 8PM

except friday)

Now need to put an access list and call from the time-range named “work-hour”

Router(config)# access-list 101 permit ip any 103.4.146.8 0.0.0.7 time-range TimeSlot
(This access list will run from time-range policy, which created and the name is “TimeSlot”)

Router(config)# access-list 102 permit ip any 103.4.146.8 0.0.0.7
(This access list with out any time base ACL)

Leave a Reply