[nsp] Interface up a time interval

Gert Doering gert at greenie.muc.de
Thu Jan 22 12:58:32 EST 2004


Hi,

On Thu, Jan 22, 2004 at 08:28:18AM -0500, elatour at cimex.com.cu wrote:
> Is possible configure an interface, to stay up i.e. from 8:00am to
> 6:00pm?

Not in the sense of "shutdown" and "no shutdown" (that is: not without
running scripts on some external machine that manipulate the cisco
config).

If it's sufficient for you to make sure no traffic is forwarded outside
that time, you can use a time-based access-list.

time-range active-time
  periodic daily 8:00 to 18:00

interface ethernet0 
  ip access-group 110 in

access-list 110 permit ip any any time-range active-time
access-list 110 deny ip any any

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert at greenie.muc.de
fax: +49-89-35655025                        gert at net.informatik.tu-muenchen.de


More information about the cisco-nsp mailing list