2-9
Cisco Catalyst Blade Switch 3130 and 3032 for Dell Command Reference
OL-13271-03
Chapter 2 Cisco Catalyst Blade Switch 3130 and 3032 for Dell Cisco IOS Commands
archive copy-sw
Note
To successfully use the
archive copy-sw
privileged EXEC command, you must have downloaded from
a TFTP server the images for both the stack member switch being added and the stack master. You use
the
archive download-sw
privileged EXEC command to perform the download.
At least one stack 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 stack member by repeating the
/destination-system
destination-stack-member-number
option in the command for each stack 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
stack 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-100
.
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 stack 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 stack member to another stack member and to overwrite the
software image in the second stack 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 stack member to another stack 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.