02-28-2014 07:06 AM - edited 03-04-2019 10:28 PM
For the last few days I've been trying to figure something out, I've added the below config to 3 switches. Now, it works like I want it to on 1 switch, but doesn't seem to on the others. 2 of the switches are 3560s, and it works on one of these the last one is a 2960.
ip access-list extended block
deny ip any any time-range block
permit ip any any
time-range block
periodic daily 20:00 to 8:00
02-28-2014 07:27 AM
Hi,
What do you mean by it is not working as expected ? on which type of interfaces is this ACL applied ?
Is the time-range active on the 2960 between 20 to 8 ?
Regards
Alain
Don't forget to rate helpful posts.
03-01-2014 10:45 AM
Do all the switches have their clock set correctly?
Sent from Cisco Technical Support iPad App
03-01-2014 02:20 PM
periodic daily 20:00 to 8:00
This bit is incorrect. I am surprised to see you were able to enter this line without an error.
You need to enter two lines:
periodic daily 20:00 to 23:59
periodic daily 0:00 to 08:00
Sent from Cisco Technical Support Wii App
03-03-2014 05:23 AM
Really? It seems to e working fine. Does it differ from one switch model to another?
03-03-2014 05:22 AM
So a debug showed the interfaces were staying down. It started to work once the interfaces were brought back up.
Thanks everone who responded.
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