archive copy-sw
Using the /safe or /leave-old-sw option can cause the new image download to fail if there is insufficient
flash memory. If leaving the software in place would prevent the new image from fitting in flash memory
due to space constraints, an error results.
If you used the /leave-old-sw option and did not overwrite the old image when you downloaded the new
one, you can remove the old image by using the delete privileged EXEC command. For more
information, see the
Use the /overwrite option to overwrite the image on the flash device with the downloaded one.
If you specify the command without the /overwrite option, the download algorithm verifies that the new
image is not the same as the one on the switch flash device or is not running on any stack members. If
the images are the same, the download does not occur. If the images are different, the old image is
deleted, and the new one is downloaded.
After downloading a new image, enter the reload privileged EXEC command to begin using the new
image, or specify the /reload or /force-reload option in the archive download-sw command.
You can enter one or more of these options with the source-stack-member-number option:
•
•
•
•
•
•
•
If you enter the source-stack-member-number option before one of the previous options, you can only
enter the archive copy-sw source-stack-member-number command.
These are examples of how you can enter the archive copy-sw command:
•
•
Examples
This example shows how to copy the running image from stack member 6 to stack member 8:
Switch# archive copy-sw /destination-system 8 6
This example shows how to copy the running image from stack member 6 to all the other stack members:
Switch# archive copy-sw 6
This example shows how to copy the running image from stack member 5 to stack member 7, to
overwrite the software image in the second stack member's flash memory with the downloaded one, and
to unconditionally reload the system after the image is downloaded:
Switch# archive copy-sw /destination-system 7 /overwrite /force-reload 5
Catalyst 3750 Switch Command Reference
2-6
"delete" section on page
/destination-system destination-stack-member-number
/force-reload
/leave-old-sw
/no-set-boot
/overwrite
/reload
/safe
To copy the running image from a stack member to another stack member and to overwrite the
software image in the second stack member's flash memory with the downloaded one, enter the
archive copy-sw /destination destination-stack-member-number /overwrite
source-stack-member-number command.
To copy the running image from a stack member to another stack member, keep the current software
image, and reload the system after the image downloads, enter the archive copy-sw /destination
destination-stack-member-number /safe /reload source-stack-member-number command.
Chapter 2
Catalyst 3750 Switch Cisco IOS Commands
2-63.
78-16181-01