[rancid] Re: Trouble automating TFTP downloading using clogin
Ryan West
rwest at zyedge.com
Tue Sep 1 01:58:07 UTC 2009
ML,
Looks like you're missing carriage returns. Try creating a file with 3 carriage returns at the bottom, I recently upgraded a series of switches using the same method.
Clogin -x <file-with-commands> <rtr-name>
-ryan
-----Original Message-----
From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of ML
Sent: Monday, August 31, 2009 9:42 PM
To: rancid-discuss at shrubbery.net
Subject: [rancid] Trouble automating TFTP downloading using clogin
I'm trying to script clogin to login to some switches and pull an IOS
image via tftp.
clogin -t 300 -c 'copy tftp://1.1.1.1/file.bin flash:' 2.2.2.2
I see the copy command appear to execute on the remote switch but the
operation ever starts. I verified with remote tftp server that not a
single packet ever reaches it. There is essentially zero output during
the vty session after the copy starts. I can successfully execute other
commands, just not 'copy'.
What could be happening?
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss at shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
More information about the Rancid-discuss
mailing list