File Transfers

Transferring Switch Configurations

N o t e

For a Unix TFTP server, the file permissions for the switch software file do not allow the file to be copied.

Another console session (through either a direct connection to a terminal device or through Telnet) was already running when you started the session in which the download was attempted.

If an error occurs in which normal switch operation cannot be restored, the switch automatically reboots itself. In this case, an appropriate message is displayed after the switch reboots.

Transferring Switch Configurations

Transfer Features

Feature

Default

Menu

CLI

Web

use TFTP to copy from a remote

n/a

below

host to a config file

 

 

 

 

use TFTP to copy a config file to a

n/a

page A-19

remote host

 

 

 

 

use Xmodem to copy a

n/a

page A-19

configuration from a serially

 

 

 

 

connected host to a config file

 

 

 

 

Use Xmodem to copy a config file

n/a

page A-20

to a serially connected host

 

 

 

 

 

 

 

 

 

Using the CLI commands described in this section, you can copy switch configurations to and from a switch.

TFTP: Copying a Configuration from a Remote Host.

Syntax: copy tftp < startup-config running-config>< ip-address> < remote-file>

This command copies a configuration from a remote host to the startup-config file in the switch. (Refer to Chapter 6, “Switch Memory and Configuration” for information on the startup-config file.)

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

HPswitch# copy tftp startup-config 10.28.227.105 d:\configs\sw4100

A-18