08-25-2011 10:10 AM - edited 03-04-2019 01:24 PM
I want to block all the traffice after bussiness hours 5:00pm to 8:00am and weekends.
Here is my config on my switch
time-range no-connection
period weekdays 17:00 to 23:59
period weekdays 1:00 to 8:00
period weekends 1:00 to 23.59
ip access-list extended deny
deny ip any any time-range no-connection
deny icmp any any time-range no-connection
deny tcp any any time-range no-connection
deny udp any any time-range no-connection
interface gi0/1
ip access-group deny in
when i test the connection it's blocking all the time not after 5:00PM
Please advice
thanks
Solved! Go to Solution.
08-26-2011 09:34 AM
08-25-2011 01:20 PM
Elango,
I apologize, the 3560 does appear to support the time-based ACLs after all. Once more, my apologies. I must have confused the lack of support of time-based ACLs with some other platform.
Nevertheless, can you post your entire configuration? So far it is not clear what else is configured on your device, and it may be relevant.
One more comment: your IOS is very, very outdated. The current IOS version for your switch is 12.2(55)SE3. You should consider updating your IOS.
Best regards,
Peter
08-26-2011 09:42 AM
No problem peter first i will update the ios and test I will let you know once i complete .Thanks for you help i realy appreciate.
11-09-2011 05:35 PM
It's works thanks guys.
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