Can access lists can block / permit packets based on time of the day say to permit internet traffic only between 9:00 am to 5:00 pm.
what is the syntax in that case for access-list command? Router is cisco 1751.
You will need to use time based access lists. you can configure your router with time date ect but if router gets reset so does the time so i would suggest using a NTP server(network time protocol) command in config so that router will synch with ntp server.
Google.com will give you IP addresses for NTP servers to synch with or try this link
ciscorouter(config)# ntp update-calendar
ciscorouter(config)# ntp server 193.204.114.232
ciscorouter(config)# ntp server 192.36.143.151
ciscorouter(config)# exit
ciscorouter# wr mem
NTP servers communicate with one another using UDP with a destination port of 123. Unlike most UDP protocols, the source port isn't a high port (ie. greater than 1023), but 123 also. You'll have to allow UDP traffic on source/destination port 123
Link below should you the job for time based access lists
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.