Transferring an Operating System or Startup

Transferring an Operating System or Startup Configuration File

Transferring Switch Configurations

 

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.

 

 

N o t e

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 in the copyright screen that appears after the switch reboots.

 

 

Transferring Switch Configurations

Transfer Features

Feature

Default

Menu

CLI

Web

use TFTP to copy a configuration

n/a

below

 

from a remote host to the startup-

 

 

 

 

config file

 

 

 

 

use TFTP to copy the startup-

n/a

page A-11

 

config file to a remote host

 

 

 

 

use Xmodem to copy a

n/a

page A-11

 

configuration from a serially

 

 

 

 

connected host to the startup-

 

 

 

 

config file

 

 

 

 

Use Xmodem to copy the startup-

n/a

page A-12

 

config file to a serially connected

 

 

 

 

host

 

 

 

 

 

 

 

 

 

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

TFTP: Retrieving a Configuration from a Remote Host.

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

This command copies a configuration from a remote host to the startup-config file in the switch. (See appendix C, "Switch Memory and Configuration" for information on the startup-config file.)

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

HP2512# copy tftp startup-config 13.28.227.105 d:\configs\sw2512

A-10