reload iso file in cisco switch step by step guideline

Опубликовано: 11 Март 2026
на канале: PlaY AnD LearN
442
3

Copying Images from Flash Memory to a Network Server
You can copy system images from Flash memory to an File Transfer Protocol (FTP), remote copy protocol (rcp), or Trivial File Transfer Protocol (TFTP) server. You can use this server copy of the system image as a backup copy, or you can use it to verify that the copy in Flash is the same as the original file on disk. The following sections describe these tasks:

•Copying an Image from Flash Memory to a TFTP Server

•Copying an Image from Flash Memory to an rcp Server

•Copying an Image from Flash Memory to an FTP Server

The protocol you use depends on which type of server you are using. The FTP and rcp transport mechanisms provide faster performance and more reliable delivery of data than TFTP. These improvements are possible because the FTP and rcp transport mechanisms are built on and use the TCP/IP stack, which is connection-oriented.

To stop the copy process, press Ctrl-^ or Ctrl-Shift-6.

In the output, an exclamation point (!) indicates that the copy process is taking place. Each exclamation point (!) indicates that ten packets have been transferred.

Refer to the Internetwork Troubleshooting Guide publication for procedures on how to resolve Flash memory problems.

Copying an Image from Flash Memory to a TFTP Server
You can copy a system image to a TFTP network server. In some implementations of TFTP, you must first create a "dummy" file on the TFTP server and give it read, write, and execute permissions before copying a file over it. Refer to your TFTP documentation for more information.

To copy a system image to a TFTP network server, use the following commands in EXEC mode:


Command
Purpose
Step 1
Router# show flash-filesystem:
(Optional) Displays the system image filename in Flash memory. Use this command to verify the url-path of the file and the exact spelling of the system image filename for use in the next command.
Step 2
Router# copy flash-url tftp:[[[//location]/directory]/filename]
Copies the system image from Flash memory to a TFTP server. Specify the file location and filename as the flash-url argument.
After you have issued the copy EXEC command, you may be prompted for additional information or for confirmation of the action. The prompting will depend on how much information you provide in the copy command and the current setting of the file prompt global configuration command.

Copying an Image from Flash Memory to a TFTP Server Example
The following example uses the show flash: EXEC command to learn the name of the system image file and the copy flash: tftp: EXEC command to copy the system image to a TFTP server:

RouterB# show flash:

System flash directory:
File Length Name/status
1 4137888 c3640-c2is-mz.Feb24
[4137952 bytes used, 12639264 available, 16777216 total]
16384K bytes of processor board System flash (Read/Write)\

Router# copy flash: tftp:
IP address of remote host [255.255.255.255]? 172.16.13.110
filename to write on tftp host? c3640-c2is-mz.Feb24
writing c3640-c2is-mz.Feb24 !!!!...
successful tftp write.
Copying an Image from Partitioned Flash Memory to a TFTP Server Example
In this example, the file named your-ios is copied from partition 1 of the Flash memory PC card in slot 0 to the TFTP server at 172.23.1.129. The file will be saved with the name your-ios in the dirt/sysadmin directory relative to the directory of the remote username.