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

CLI commands to backup IOS

When backing up the router IOS with the following command: Router# copy flash tftp: The IOS asks for the source file name. What is the correct source file name for the IOS?

Thanks in advance.

4 REPLIES
Hall of Fame Super Silver

Re: CLI commands to backup IOS

Hello Duane,

>>What is the correct source file name for the IOS?

the one that is listed in the show ver in the line System Image file

System image file is "flash:c2600-i-mz.122-8.T5.bin"

the part after the : can be enough if your router has only one flash filesystem otherwise you need to use also the part before the :

Hope to help

Giuseppe

Purple

Re: CLI commands to backup IOS

Just do a "dir flash: , that is the filename you would use.

Silver

Re: CLI commands to backup IOS

After performing the dir flash: be sure to include the directory name in addition to the file name otherwise you will get an error stating this is a directory

copy flash: tftp

tftp ip address:

source file name: dir\filename.bin

destination file name: file.bin

Community Member

Re: CLI commands to backup IOS

Thanks for the help. I have the IOS backed up on my computer.

209
Views
0
Helpful
4
Replies
CreatePlease to create content