Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Time based access lists any advice???? 2

Status
Not open for further replies.

maxcolmer25

Technical User
Dec 5, 2002
44
IE
Hi
Could anyone shed some light on time based access lists as i need to stop router traffic after 7pm every day as ISDN line is being brought up after hours and weekends when nobody is in office. We suspect that DNS is trying to get updates thus bringing up connection.
If i use time access list will i need to put on NTP server on router or how does it know time?(Router does not let me enter # ntp peer {ip address}
or # ntp server {ip address}
Although i can use the # clock set hh:mm:ss ect. command. will this be enough???
I am using a Cisco 1721 with Bri interface and IOS v12.2

Any advice is greately appreciated
Max
 
Hi,
No need to use an NTP server, configuring the clock locally will do the job.
Here is a sample config for time-range if you need to know how to use it:

!
time-range <name>
periodic weekdays 7:00 to 19:00
periodic Sunday 18:00 to 20:00
access-list 110 permit ip any any time-range <name>
!
interface Dialer1
ip access-group 110 in
!

The time range stuff is quite flexible.

BR,
-Stephen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top