HP UX 11i v2 Networking Software Saving and Copying Files, Example, Show the new system image

Models: UX 11i v2 Networking Software

1 236
Download 236 pages 18.16 Kb
Page 93
Image 93

boot-config primary-image-source image-directory-name

Example:

HP-IB# configure

HP-IB(config)# boot-config primary-image-source Release-1.1.3hp/build023 HP-IB(config)# exit

4.Show the new system image.

HP-IB# show boot-config

=========================================================================

System Boot Configuration

=========================================================================

slot-id : 1

sw-version : Release-1.1.3hp/build023 last-image-source : Release-1.1.3hp/build023 primary-image-source : Release-1.1.3hp/build023

Saving and Copying Files

HP Fabric Switch OS allows administrators to save files to and from the system, as well as between files, using the CLI copy command. You may download and install image and configuration files from an FTP server to the system chassis.

Download image files to upgrade switch system firmware and download configuration files to quickly replicate a desired configuration. Upload configuration and log files to maintain backups and troubleshoot the system.

Files are copied across the network using the File Transfer Protocol (FTP). 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.

Download and Upload Capabilities

Image files: Download only. No upload.

Config files: Download and upload

Log files: Upload only

The copy Command

The copy command may be executed in the privileged-execute mode only.

The syntax for copying a remote file to the local system is:

copy ftp://usr:passwd@host/loc fs:file

or for copying a local file to a remote host,

copy fs:file ftp://usr:passwd@host/loc

The arguments to the copy command are described below.

Table 6-5

Copy Command Descriptions

argument

description

usr

Network user name for executing the FTP command on the specified host. The user name is

 

always followed by a colon (:).

passwd

Network password for executing the FTP command on the specified host. The password is

 

always followed by the “at” character (@). A password is sent as-is, without encryption, to

 

the target host; however, the system, and connected hosts should be protected behind a

 

firewall.

host

IP address or DNS name of the remote host system. The host is always followed by a slash.

loc

Location of the file. The format of the path is appropriate for the host system (e.g., forward

 

slashes on Linux systems or back-slashes on Windows systems). Path information may not

 

be supported by your FTP server. If this is the case, copy files to and from your top-level

 

home directory and omit any path information.

Switch Administration and Management 93

Page 93
Image 93
HP UX 11i v2 Networking Software manual Saving and Copying Files, Example, Show the new system image