File Transfers

Transferring Switch Configurations

 

Using the CLI commands described in this section, you can copy switch

 

configurations to and from a switch, or copy a software image to configure or

 

replace an ACL in the switch configuration.

 

 

N o t e

For greater security, you can perform all TFTP operations using SFTP as

 

described in the section on Using Secure Copy and SFTP on page A-12.

 

The include-credentialscommand can also be used to save passwords, secret

 

keys, and other security credentials in the running config file. For more

 

information, see the section on “Saving Security Credentials in a Config File”

 

in the Access Security Guide for your switch.

 

 

TFTP: Copying a Configuration File to a Remote Host

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 on multiple configuration files, refer to “Multiple Configuration Files” on page 6-26.

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 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
A-30