File Transfers

Transferring Switch Configurations

TFTP: 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.

Syntax: copy tftp show-tech <ipv4 or ipv6 address> <filename>

Copy a customized command file to the switch.

ProCurve(config)# copy tftp show-tech 10.10.10.3 commandfile1

Figure A-9. Example of Using the copy tftp show-tech Command to Upload a Customized Command File

Syntax: show tech custom

Executes the commands found in a custom file instead of the hard-coded list.

Note: Exit the global config mode (if needed) before executing show tech commands.

You can include show tech commands in the custom file, with the exception of show tech custom. For example, you can include the command show tech all.

If no custom file is found, a message displays stating “No SHOW-TECH file found.”

ProCurve# show tech custom

 

 

No custom file was uploaded with the copy tftp show-

 

No SHOW-TECH file found.

tech command

 

 

 

 

Figure A-10. Example of the show tech custom Command

A-25