Expect is great for telnet. If you permit SSH only, clogin included with rancid is a great place to start as well.
-----Original Message----- From: cisco-nsp-boun...@puck.nether.net [mailto:cisco-nsp-boun...@puck.nether.net] On Behalf Of Jorge Evangelista Sent: Tuesday, January 06, 2009 11:57 To: cisco_nsp Subject: Re: [c-nsp] temporary static routes If you have a unix or linux server you can use a cron, using expect or perl to execute some command in your cisco router. http://www.ibm.com/developerworks/forums/thread.jspa?threadID=6160&tstar t=105 Regards On Tue, Jan 6, 2009 at 2:50 PM, Darryl Dunkin <ddun...@netos.net> wrote: > If you were not required to confirm your destination interactively, you > could store your configuration on an TFTP server and schedule a 'copy > tftp running-config'. Unless someone knows a way around this. > > Otherwise, you're probably better off scripting this via telnet/ssh from > another host. > > -----Original Message----- > From: cisco-nsp-boun...@puck.nether.net > [mailto:cisco-nsp-boun...@puck.nether.net] On Behalf Of Cord MacLeod > Sent: Tuesday, January 06, 2009 11:36 > To: Jared Mauch > Cc: cisco-nsp@puck.nether.net > Subject: Re: [c-nsp] temporary static routes > > Looks like IOS doesn't support eem for my platform let alone my IOS > version. Additionally, kron looks to be what I wanted, save that it > can only use privileged mode commands, no global or interface > commands, which seems to be a show stopper for injecting null0 routes. > > Thanks for the feedback! > > On Jan 6, 2009, at 11:10 AM, Jared Mauch wrote: > > > On Tue, Jan 06, 2009 at 11:59:35AM -0600, Ge Moua wrote: > >> Use "EEM" with a timer; kinda like an IOS-based "cron" > > > > There is also kron in IOS. > > > > http://www.google.com/search?q=ios+kron > > > > > > -- > > Jared Mauch | pgp key available via finger from ja...@puck.nether.net > > clue++; | http://puck.nether.net/~jared/ My statements are > > only mine. > > _______________________________________________ > cisco-nsp mailing list cisco-nsp@puck.nether.net > https://puck.nether.net/mailman/listinfo/cisco-nsp > archive at http://puck.nether.net/pipermail/cisco-nsp/ > _______________________________________________ > cisco-nsp mailing list cisco-nsp@puck.nether.net > https://puck.nether.net/mailman/listinfo/cisco-nsp > archive at http://puck.nether.net/pipermail/cisco-nsp/ > -- "The network is the computer" _______________________________________________ cisco-nsp mailing list cisco-nsp@puck.nether.net https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/ _______________________________________________ cisco-nsp mailing list cisco-nsp@puck.nether.net https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/