07-25-2006 12:12 AM - edited 03-03-2019 01:26 PM
I am using time-based ACL for managing bandwidth,if I have to allow any traffic between 22:00 (10:00pm) to 3:00 (3:00am)in weekdays,then if I write
#periodic weekdays 22:00 to 3:00
then is it correct because at 24:00 date will change, it can be done with
#periodic weekdays 22:00 to 23:59
#periodic weekdays 0:01 to 3:00
is it possible to write this in one statement?
thanks
Solved! Go to Solution.
07-25-2006 02:19 AM
The answer is indeed "yes", but not in this way. :)
Test_172.1(config-time-range)#periodic weekdays 22:00 to 03:00
Ending time must be greater than starting time
The "trick" is obviuos - define periodic weekdays 3:00 to 22:00 and explicitly DENY the traffic for this time-range.
07-25-2006 02:00 AM
Hello eshahidwol,
You asked "is it possible to write this in one statement?". I seem to recall from my testing the answer is yes. You might want to test just to be 100% sure.
Hope that helps! If so, please rate.
Thanks
07-25-2006 02:19 AM
The answer is indeed "yes", but not in this way. :)
Test_172.1(config-time-range)#periodic weekdays 22:00 to 03:00
Ending time must be greater than starting time
The "trick" is obviuos - define periodic weekdays 3:00 to 22:00 and explicitly DENY the traffic for this time-range.
07-25-2006 02:52 AM
I got it....
Thanks alot for your help!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide