File Transfers

Downloading Switch Software

CLI: Xmodem Download from a PC or UNIX Workstation to Primary or Secondary Flash

Using Xmodem and a terminal emulator, you can download a software file to either primary or secondary flash.

Syntax: copy xmodem flash [< primary secondary >]

Downloads a software file to primary or secondary flash. If you do not specify the flash destination, the Xmodem download defaults to primary flash.

For example, to download a switch software file named E0822.swi from a PC (running a terminal emulator program such as HyperTerminal) to primary flash:

1.Execute the following command in the CLI:

2.Execute the terminal emulator commands to begin the Xmodem transfer. For example, using HyperTerminal:

a.Click on Transfer, then Send File.

b.Type the file path and name in the Filename field.

c.In the Protocol field, select Xmodem.

d.Click on the [Send] button.

The download can take several minutes, depending on the baud rate used in the transfer.

3.When the download finishes, you must reboot the switch to implement the newly downloaded software. To do so, use one of the following commands:

Syntax: boot system flash <primary secondary>

Reboots from the selected flash.

Syntax: reload

Reboots from the flash image currently in use.

(For more on these commands, see “Rebooting the Switch” on page 6-19.)

A-21