[rancid] Re: Trouble automating TFTP downloading using clogin
rwest at zyedge.com
Tue Sep 1 01:58:07 UTC 2009
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>
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://22.214.171.124/file.bin flash:' 126.96.36.199
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
More information about the Rancid-discuss