In article <1169672219.668220@athprx04>, vsakel <> wrote:
>has anybody an idea how can i schedule an interface on a router to be shut
>down, after a specific period of time or periodically?
Do you need it to be shut down (i.e., drop carrier, remove the
connected routes from the routing tables, stop sending BDPUs, etc.),
or do you need it to stop permitting traffic through? Also, should
the time it goes down be relative to whenever it was put up
(e.g., "stay up for 30 minutes and then shut yourself down"), or should
it be absolute times (e.g., "stay up from 02:30 to 03:00") ?
If what you need is to stop passing traffic, then you can use time-
based access lists, available since about 12.0T:
http://www.cisco.com/univercd/cc/td/...1/timerang.htm
time-based access-lists are, if I recall correctly, not available with
all switches, and may require some kind of Enhanced Image on other
switches. They are supported on a fairly wide variety of routers, but
I do not know if they are supported on -all- Cisco routers; you
could check the feature navigator
http://www.cisco.com/go/fn