File Transfers

Transferring Switch Configurations

TFTP: Copying a Configuration File from a Remote Host

Syntax: copy tftp < startup-config running-config > < ip-address> < remote-file> [ pc unix ] [oobm]

copy tftp config < filename > < ip-address> < remote-file> [ pc unix ] [oobm]

This command can copy a configuration from a remote host to a designated config file in the switch. For more on multiple configuration files, refer to “Multiple Configuration Files” on page 6-26.

(Refer to “Using Primary and Secondary Flash Image Options” on page 6-14for more on flash image use.)

For switches that have a separate out-of-band management port, the oobm parameter specifies that the transfer will be through the out-of-band management interface. If this parameter is not specified, the transfer will be 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.

For example, to download a configuration file named sw8200 in the configs directory on drive “d” in a remote host having an IP address of 10.28.227.105:

ProCurve# copy tftp startup-config 10.28.227.105 d:\configs\sw8200TFTP: Copying a Customized Command File to a Switch

Using the copy tftp command with the show-techoption provides the ability to copy a customized command file to the switch. When the show tech custom command is executed, the commands in the custom file are executed instead of the hard-coded list of commands. If no custom file is found, the current hard-coded list is executed. This list contains commands to display data such as the image stamp, running configuration, boot history, port settings, and so on.

A-31