[cisco-voip] Non-interactive CLI commands?
Jonathan Charles
jonvoip at gmail.com
Sat Nov 24 11:21:48 EST 2007
In the script, provide the responses the system is looking for...
For example:
copy tftp flash
10.1.1.1
newios.bin
[include carriage returns to get it to copy...]
Jonathan
On Nov 21, 2007 7:53 AM, Robert Kulagowski <rkulagow at gmail.com> wrote:
> I'd like to pre-stage an IOS onto routers, and I use the following:
>
> # copy http://ip.add.r.ess/filename flash:
>
> However, this is an interactive command, and even though I've specified
> the source and destination, IOS is still prompting me for source file
> and destination file names. That would make my RANCID script more
> complicated because now I'd have to program in the "expect" stuff as well.
>
> The ftp-server command on my IOS seems to be gone.
>
> TFTP is dog-slow on our high RTT links.
>
> Am I missing some magic command?
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
More information about the cisco-voip
mailing list