Hi there,
I think that a Timebased ACL is the solution to your problem:
http://www.cisco.com/en/US/products/sw/secursw/ps1018/products_tech_note0918
6a00800a5b9a.shtml
Time-Based ACLs Using Time Ranges
Time-based ACLs were introduced in Cisco IOS Software Release 12.0.1.T.
While similar to extended ACLs in function, they allow for access control
based on time. To implement time-based ACLs, a time range is created that
defines specific times of the day and week. The time range is identified by
a name and then referenced by a function. Therefore, the time restrictions
are imposed on the function itself. The time range relies on the router's
system clock. The router clock can be used, but the feature works best with
Network Time Protocol (NTP) synchronization.
These are time-based ACL commands.
time-range time-range-name | !--- Defines a named time range.
periodic days-of-the-week hh:mm to [days-of-the-week] hh:mm | !--- Defines
the periodic times or, defines the absolute times.
absolute [start time date] [end time date] | !--- The time range used in the
actual ACL.
ip access-list name|number <extended_definition>time-rangename_of_time-range
In this example, a Telnet connection is permitted from the inside to outside
network on Monday, Wednesday, and Friday during business hours:
interface Ethernet0/0
ip address 10.1.1.1 255.255.255.0
ip access-group 101 in
access-list 101 permit tcp 10.1.1.0 0.0.0.255 172.16.1.0 0.0.0.255
eq telnet time-range EVERYOTHERDAY
time-range EVERYOTHERDAY
periodic Monday Wednesday Friday 8:00 to 17:00
With kind regards,
Duncan Stork
-----Oorspronkelijk bericht-----
Van: Schweizer Laurent [mailto:laur...@eivd.ch]
Verzonden: woensdag 5 januari 2005 09:47
Aan: cisc...@puck.nether.net
Onderwerp: [c-nsp] stop voice connection after X hours
Hello,
I use a cisco 2600 as sip to pstn gateway and I want to stop voice
connection after X hours.
How can I do that?