Image files require additional processing. After they have been copied onto the system chassis, image files must be installed before they can be used to initialize the system.

After configuration files are downloaded to the system chassis, they may be specified in the configure boot-config command and used the next time the system is booted.

The File Transfer Protocol (FTP is used to copy data to and from a remote host. As such, part of the copy command requires you to include your network user name and password, as well as the host DNS name or IP address.

The copy and show logging commands are the only CLI commands which recognize <Ctrl>-c. You may enter <Ctrl>-c during the uploading/downloading process to terminate file transfer in the event network transfer hangs.

NOTE: You can only download image and configuration files. Log files cannot be downloaded. You can only upload configuration and log files. System-image data cannot be uploaded.

Examples:

HP-IB# copy ftp://root:infini@15.13.113.96/tmp/HP-AB291A-Release-1.1.3hp-build020.img image:HP-AB291A-Release-1.1.3hp-build020.img

operation completed successfully HP-IB#

The example above shows downloading a system-image file from a remote host to the system chassis. Once downloaded it may be installed and propagated to all the gateway and switch cluster connections in the chassis (some gateway functions are not supported by HP InfiniBand).

HP-IB# copy running-config startup-config operation completed successfullyHP-IB

The second example shows copying the current configuration to the default configuration file that is read by the chassis as it initializes itself upon reboot.

Defaults: This command has no defaults.

Related Commands: “boot-config” (page 190) “delete” (page 194)“dir” (page 195) “install” (page 200)

“show boot-config” (page 135)

delete

Synopsis: The delete command is used to remove image, configuration, and log files from the system chassis.

Syntax: delete fs:fileThe arguments related to the delete command are described below.
Table B-62delete Command Argument Descriptions

 

 

 

Argument

 

Description

 

 

 

fs

 

System file-system. This is an internal directory that is identified by name only. The

 

 

file-systems are config, images, and syslog. The specified file-system must be appropriate

 

 

for the type of file being deleted. For example, if an attempt is made to delete a configuration

 

 

file from the syslog file-system, an error is returned because the name of the file is not

 

 

appropriate for the file-system. The file-system specification is always followed by a colon

 

 

(:). Note that startup-config is aliased to config:startup-config. Therefore, the file system for

 

 

this file is assumed and does not have to be explicitly stated.

 

 

 

file

 

Name of the configuration, image, or log file to be deleted.

 

 

 

Command Modes: Privileged-execute mode.

Privilege Level: Unrestricted read-write user.

194 Switch Command Line Interface