Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Time-range access-list

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

5 REPLIES
Purple

Time-range access-list

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.

Don't forget to rate helpful posts.

Re: Time-range access-list

Do all the switches have their clock set correctly?

Sent from Cisco Technical Support iPad App

Hall of Fame Super Gold

Re: Time-range access-list


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

Community Member

Time-range access-list

Really? It seems to e working fine. Does it differ from one switch model to another?

Community Member

Time-range access-list

So a debug showed the interfaces were staying down. It started to work once the interfaces were brought back up.

Thanks everone who responded.

680
Views
0
Helpful
5
Replies
CreatePlease to create content