No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

ACL based on time

Publication Date:  2015-11-27 Views:  281 Downloads:  0
Issue Description
There is POC of S5700. Customer has special requirement to us. They want our switch to limit the access of internet in non-office working hour.
Solution
To achieve this, we can set traffic policy and apply it in the inbound direction of Gi0/0/0(internal network) to prevent packet matching the rule of ACL.

Configuration:
time-range work 09:00 to 18:00 working-day
time-range work 09:00 to 13:00 Sat
#
diffserv domain default
#
acl number 2000
rule 5 permit time-range work
rule 10 deny

interface GigabitEthernet0/0/1
traffic-filter outbound acl 2000

END