Time-range access-list
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Labels:
-
Other Routing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2014 10:45 AM
Do all the switches have their clock set correctly?
Sent from Cisco Technical Support iPad App
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2014 05:23 AM
Really? It seems to e working fine. Does it differ from one switch model to another?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
