cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
984
Views
0
Helpful
1
Replies

Uploading Multiple Files Simultaneously

jas2061461
Level 1
Level 1

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.


1 Reply 1

Dan Frey
Cisco Employee
Cisco Employee

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: