cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
627
Views
0
Helpful
3
Replies

Time based ACL problem!

eshahidwol
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

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.

View solution in original post

3 Replies 3

hemendoz
Cisco Employee
Cisco Employee

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

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.

I got it....

Thanks alot for your help!

Review Cisco Networking products for a $25 gift card