Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Uploading Multiple Files Simultaneously

Hey Cisco Support Community,

I have about 60 different configurations I need to upload to 6 different routers/switches.  All of the files begin with "config", so I was hoping I could use the asterisk to grab all the files at once, so I don't need to upload them individually.  I can use an FTP, TFTP or any other free tool you have in mind.  Does anyone know an easy way to to do this?  Thank you.


Everyone's tags (2)
1 REPLY
Cisco Employee

Re: Uploading Multiple Files Simultaneously

The TCL shell on the router and switch is one option to automate the process.

Start by going to the tcl shell on the router:

871#tclsh

871(tcl)#

Input the names of the file in the set file commad and add your FTP server username and password on the copy command.   May want to do this in notepad, then paste it to the TCL prompt of the router.

set file {filename1 filename2 filename3 }

conf t

file prompt quiet

exit

foreach f $file {

copy ftp://username:password@192.168.23.125:$f flash: }

- Dan

385
Views
0
Helpful
1
Replies
CreatePlease login to create content