[cisco-voip] Non-interactive CLI commands?
    Robert Kulagowski 
    rkulagow at gmail.com
       
    Wed Nov 21 10:16:10 EST 2007
    
    
  
jean-francois.guay at bell.ca wrote:
> Are you using FTP to copy of HTTP?
> 
> With FTP, you would need to start by configuring the ftp username and
> password in the general config, then issue:
> 
> # copy ftp://source filename url> flash:<destination filename> *enter*
> And at the end of your script send an extra "enter/line feed" that will
> actually confirm your command to the router.
Well, I'm using HTTP so that I don't need to provide login credentials 
when I pull the IOS to the router.
The sticking point is that I want to make this script _very_ simple. 
Using clogin from RANCID I can script non-interactive commands quite 
easily, but to get the script to send extra CR is the issue, and I'd 
prefer not to do that.
So, there's no "I-Know-What-Im-Doing-Do-What-I-Say" mode for the copy 
command?
    
    
More information about the cisco-voip
mailing list