Management and Configuration Guide K/KA/KB.15.15

Copies a customized command file to the switch.
For switches that have a separate OOBM port, the oobm parameter specifies that the transfer is
through the out-of-band management interface. If this parameter is not specified, the transfer is
through the data interface. The oobm parameter is not available on switches that do not have a
separate OOBM port.
Example
Example 100 Using the copy tftp show-tech command to upload a customized command
file
HP Switch(config)# copy tftp show-tech 10.10.10.3 commandfile1
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.
Example
Example 101 The show tech custom command
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." (No custom
file was uploaded with the copy tftp show-tech command.)
HP Switch# show tech custom
No SHOW-TECH file found.
Copying a configuration file using Xmodem
To use this method, the switch must be connected via the serial port to a PC or UNIX workstation.
You will need to:
Determine a filename to use.
Know the directory path you will use to store the configuration file.
Syntax
copy [ startup-config | running-config ] xmodem [ pc | unix ]
copy config filename xmodem pc | unix
Uses Xmodem to copy a designated configuration file from the switch to a PC or UNIX workstation.
Example
To copy a configuration file to a PC serially connected to the switch:
1. Determine the file name and directory location on the PC.
2. Execute the following command:
HP Switch# copy startup-config xmodem pc
Press 'Enter' and start XMODEM on your host...
3. After you see the above prompt, press [Enter].
4. Execute the terminal emulator commands to begin the file transfer.
280 File transfers