File Transfers

Downloading Switch Software

CLI: Switch-To-Switch Downloads

Where two switches in your network belong to the same series, you can download a software image between them by initiating a copy tftp command from the destination switch. The options for this CLI feature include:

Copy from primary flash in the source to either primary or secondary in the destination.

Copy from either primary or secondary flash in the source to either primary or secondary flash in the destination.

Downloading from Primary Only.Syntax: copy tftp flash < ip-addr> flash [ primary secondary ] [oobm]

This command (executed in the destination switch) downloads the software flash in the source switch’s primary flash to either the primary or secondary flash in the destination switch.

For switches that have a separate out-of-band management port, the oobm parameter specifies that the TFTP traffic must come in through the out-of-band management interface. If this parameter is not specified, the TFTP traffic comes in through the data interface. The oobm parameter is not available on switches that do not have a separate out-of-band management port. Refer to Appendix I, “Network Out-of-Band Management” in this guide for more information on out-of­ band management.

If you do not specify either a primary or secondary flash location for the destination, the download automatically goes to primary flash.

For example, to download a software file from primary flash in a switch with an IP address of 10.29.227.103 to the primary flash in the destination switch, you would execute the following command in the destination switch’s CLI:

Running Total

of Bytes

Downloaded

Figure A-8. Switch-To-Switch, from Primary in Source to Either Flash in Destination

Downloading from Either Flash in the Source Switch to Either Flash in the Destination Switch.

A-26