2-9
Catalyst 3750 Switch Command Reference
OL-8552-07
Chapter 2 Catalyst 3750 Switch Cisco IOS Commands
archive copy-sw
At least one member must be running the image that is to be copied to the switch that has incompatible
software.
You can copy the image to more than one specific member by repeating the
/destination-system
destination-stack-member-number
option in the command for each member to be upgraded. If you do
not specify the
destination-stack-member-number
, the default is to copy the running image file to all
members.
Using the
/safe
or
/leave-old-sw
option can cause the new copied image 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 copied the new one,
you can remove the old image by using the
delete
privileged EXEC command. For more information,
see the
“delete” section on page 2-109
.
Use the
/overwrite
option to overwrite the image on the flash device with the copied one.
If you specify the command
without
the
/overwrite
option, the algorithm verifies that the new image is
not the same as the one on the switch flash device or is not running on any members. If the images are
the same, the copy does not occur. If the images are different, the old image is deleted, and the new one
is copied.
After copying 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 copy-sw
command.
You can enter one or more of these options with the s
ource-stack-member-number
option:
•
/destination-system
destination-stack-member-number
•
/
force-reload
•
/
leave-old-sw
•
/
no-set-boot
•
/
overwrite
•
/
reload
•
/safe
If you enter the s
ource-stack-member-number
option before one of the previous options, you can enter
only the
archive copy-sw
s
ource-stack-member-number
command.
These are examples of how you can enter the
archive copy-sw
command:
•
To copy the running image from a member to another member and to overwrite the software image
in the second member’s flash memory (if it already exists) with the copied one, enter the
archive
copy-sw /destination
destination-stack-member-number
/overwrite
s
ource-stack-member-number
command.
•
To copy the running image from a member to another member, keep the current software image, and
reload the system after the image copies, enter the
archive copy-sw /destination
destination-stack-member-number
/safe /reload
s
ource-stack-member-number
command.