tftp put

tftp put [ ip-address | host-name] {vr vr_name} {block-size block_size}local-file { remote-file}

Desciption

Allows you to use TFTP from the current command line interface session to copy the file from the local host, including the switch, internal memory card, compact flash card, or USB 2.0 storage device and put it on a TFTP server.

Syntax Description

host-name Specifies the name of the remote host.
ip-address Specifies the IP address of the TFTP server.
vr_name Specifies the name of the virtual router.NOTE: User-created VRs are supported only on the platforms listed for this feature in the ExtremeXOS 22.7 Feature License Requirements document.
block_size Specifies the data block size, excluding TFTP header. Data block size ranges from 24-65000 bytes.
local-file Specifies the name of the file (configuration file, policy file) on the local host.
remote-file Specifies the name of the file on the remote host.

Default

If you do not specify a virtual router, VR-Mgmt, and then VR-Default (if needed), is used.

If you do not specify a virtual router, VR-Mgmt, and then VR-Default (if needed), is used.

If you do not specify the internal memory card or a removable storage device, the switch downloads or uploads the file from the switch local file system.

If you do not specify block size, the default value is 1400 bytes.

Usage Guidelines

This command is supported by IPv4 only.

NetASCII and mail file type formats are not supported.

This command was introduced to simplify using TFTP to transfer configuration, policy, and if configured, core dump files from the switch to the TFTP server. You can continue to use the original tftp command introduced in ExtremeXOS 10.1.

For more information about TFTP, including:
  • TFTP server requirements.
  • How to use TFTP.
  • Host name and remote IP address character restrictions.
  • Local and remote filename character restrictions.
  • Virtual router requirements.
  • Internal memory and core dump files.
  • Other useful commands.

See the tftp command.

Example

The following command transfers a saved, not currently used configuration file named XOS1.cfg from the switch to the TFTP server:

tftp put 10.123.45.67 vr “VR-Mgmt” XOS1.cfg

History

This command was first available in ExtremeXOS 11.4.

Support for USB 2.0 storage devices was added in ExtremeXOS 12.5.3.

Block size support was added in ExtremeXOS 15.7.1.

Platform Availability

This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X590, X620, X690, X870 series switches.