[c-nsp] temporary static routes

Darryl Dunkin ddunkin at netos.net
Tue Jan 6 15:02:16 EST 2009


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-bounces at puck.nether.net
[mailto:cisco-nsp-bounces at 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 <ddunkin at 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-bounces at puck.nether.net
> [mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of Cord MacLeod
> Sent: Tuesday, January 06, 2009 11:36
> To: Jared Mauch
> Cc: cisco-nsp at 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
jared at puck.nether.net
> > clue++;      | http://puck.nether.net/~jared/  My statements are
> > only mine.
>
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at 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 at 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 at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/


More information about the cisco-nsp mailing list