Management and Configuration Guide K/KA/KB.15.15

Transferring switch configurations
Copying a configuration file to a remote host in TFTP
Syntax
copy startup-config | running-config tftp ip-addr remote-file [ pc
| unix ] [oobm]
copy config filename tftp ip-addr remote-file [ pc | unix ] [oobm]
This command can copy a designated config file in the switch to a TFTP server.
For more information, see the Basic Operation Guide.
For switches that have a separate OOBM port, the oobm parameter specifies that the transfer is
through the OOBM 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
To upload the current startup configuration to a file named sw8200 in the configs directory on
drive "d" in a TFTP server having an IP address of 10.28.227.105:
ProCurve# copy startup-config tftp 10.28.227.105
d:\configs\sw8200
Copying a configuration file from a remote host in TFTP
Syntax
copy tftp startup-config | running-config ip-addr remote-file [ pc
| unix ] [oobm]
copy tftp config filename ip-addr remote-file [ pc | unix ] [oobm]
This command can copy a configuration from a remote host to a designated config file in the
switch.
For switches that have a separate OOBM port, the oobm parameter specifies that the transfer is
through the OOBM 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
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:
HP Switch# copy tftp startup-config 10.28.227.105
d:\configs\sw8200
Copying customized command file
Using the copy tftp command with the show-tech option 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 [oobm]
Transferring switch configurations 279