File Transfers

Downloading Switch Software

Using Auto-TFTP

The auto-tftpcommand allows you to configure the switch to download software automatically from a TFTP server.

How It Works. At switch startup, the auto-TFTP feature automatically downloads a specified software image to the switch from a specified TFTP server, then reboots the switch. To implement the process, you must first reboot the switch using one of the following methods:

enter the boot system flash primary command in the CLI

with the default flash boot image set to primary flash (the default), enter the boot or the reload command, or cycle the power to the switch. (To reset the boot image to primary flash, use boot set-default flash primary.)

Syntax: auto-tftp<ip-addr > <filename >

By default, auto-TFTP is disabled. This command configures the switch to automatically download the specified software file from the TFTP server at the specified IP address. The file is downloaded into primary flash memory at switch startup. The switch then automatically reboots from primary flash.

Notes: To enable auto-TFTP to copy a software image to primary flash memory, the version number of the downloaded software file (for example, K_14_01.swi) must be different from the version number currently in the primary flash image.

The current TFTP client status (enabled or disabled) does not affect auto-TFTP operation. (Refer to “Enabling TFTP” on page A-9.)

Completion of the auto-TFTP process may require several minutes while the switch executes the TFTP transfer to primary flash, and then reboots again.

The no form of the command disables auto-TFTP operation by deleting the auto-tftpentry from the startup configuration.

The no auto-tftpcommand does not affect the current TFTP- enabled configuration on the switch. However, entering the ip ssh filetransfer command automatically disables both auto- tftp and tftp operation.

A-11