Management and Configuration Guide K/KA/KB.15.15

For switches that have a separate out-of-band management port, the listen parameter in a server
configuration allows you to specify whether transfers take place through the out-of-band management
(oobm) interface, the data interface, or both.
NOTE: To disable all TFTP client or server operation on the switch except for the auto-TFTP feature,
enter the no tftp [client|server] command.
When IP SSH file transfer is used to enable SCP and SFTP functionality on the switch, this disables
TFTP client and server functionality. Once ip ssh file transfer is enabled, TFTP and auto-TFTP cannot
be re-enabled from the CLI.
When TFTP is disabled, instances of TFTP in the CLI copy command and the Menu interface
"Download OS" screen become unavailable.
The no tftp <client | server> command does not disable auto-TFTP operation. To disable
an auto-TFTP command configured on the switch, use the no auto-tftp command described
on page “Downloading software automatically from a TFTP server” (page 271) to remove the
command entry from the switch's configuration.
For information on how to configure TFTP file transfers on an IPv6 network, see theIPv6 Configuration
Guide.
Downloading software automatically from a TFTP server
The auto-tftp command lets you configure the switch to download software automatically from
a TFTP server.
At switch startup, the auto-TFTP feature automatically downloads a specified software image to the
switch from a specified TFTP server and 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.
NOTE: 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. (See
“Enabling TFTP” (page 270).)
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-tftp entry from
the startup configuration.
The no auto-tftp command 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.
Downloading software automatically from a TFTP server 271