Notes examples – HP 2/8q Fibre Channel User Manual

Page 120

Advertising
background image

Command Line Interface

120

HP StorageWorks 2/8q Fibre Channel Switch Management User Guide

COPY [config_source] [config_destination]

Copies the configuration given by [config_source] to the configuration given by
[config_destination]. The switch supports up to 10 configurations including the
default configuration.

DELETE [config_name]

Deletes the configuration given by [config_name] from the switch.

EDIT [config_name]

Opens an edit session for the configuration given by [config_name]. If you omit
[config_name], the currently active configuration is used.

LIST

Displays a list of all available configurations on the switch. This keyword does not
require an admin session.

RESTORE

Restores configuration settings to an out-of-band switch from a backup file named

configdata

, which must be first uploaded on the switch using FTP. You create the

backup file using the

Config Backup

command. Use FTP to load the backup file

on a switch, and then enter the

Config Restore

command. After the restore is

complete, the switch automatically resets. See “

Backing up a switch configuration

” on

page 114.

Note:

If the restore process changes the IP address, all management sessions are terminated. Use the

Set Setup System

command to return the IP configuration to the values you want. See the

Set Setup command

” on page 147.

Configuration archive files created with the Switch Manager Archive function are not compatible

with the

Config Restore

command.

SAVE [config_name]

Saves changes made during a configuration edit session in the configuration given by
[config_name]. If you omit [config_name], the value for [config_name] you chose for
the most recent

Config Edit

command is used. [config_name] can be up to 31

characters excluding #, semicolon (;), and comma (,). The switch supports up to 10
configurations including the default configuration.

Notes

If you edit the active configuration, changes are held in suspense until you reactivate the
configuration or activate another configuration.

Examples

The following shows an example of how to open and close a Config Edit session:

2/8q FC Switch #> admin start

2/8q FC Switch (admin) #> config edit

The config named default is being edited.

.

.

Advertising
This manual is related to the following products: