Restoring a configuration – HP StorageWorks 2.128 SAN Director Switch User Manual
Page 74

74
Maintaining configurations and firmware
4.
Respond to the prompts as follows:
For example:
Restoring a configuration
Restoring a configuration involves overwriting the configuration on the switch by downloading a
previously saved backup configuration file. Perform this procedure during a planned down time.
Make sure that the configuration file you are downloading is compatible with your switch model;
configuration files from other model switches might cause your switch to fail.
You must have a user ID on the FTP server where the backup file is stored.
Use the following procedure:
1.
Verify that the FTP service is running on the server where the backup configuration file is located.
2.
Connect to the switch and log in as admin.
3.
Disable the switch by issuing the
switchDisable
command.
4.
Issue the
configDownload
command.
The command becomes interactive and you are prompted for the required information.
5.
Respond to the prompts as follows:
Protocol
If your site requires the use of Secure Copy, specify
scp
. Otherwise,
specify
ftp
.
Server
Name or IP
Address
Enter the name or IP address of the server where the file is to be stored;
for example,
192.1.2.3
. You can enter a server name if DNS is
enabled. For details about the
dnsConfig
command, see the HP
StorageWorks Fabric OS 5.x command reference guide.
User name
Enter the user name of your account on the server, for example,
JohnDoe
.
File name
Specify a file name for the backup file, for example,
config.txt
.
Absolute path names can be specified using forward slash (/). Relative
path names create the file in the user’s home directory on UNIX servers,
and in the directory where the FTP server is running on Windows servers.
Password
Enter your account password for the server.
switch:admin> configupload
Protocol (scp or ftp) [ftp]: ftp
Server Name or IP Address [host]: 192.1.2.3
User Name [user]: JohnDoe
File Name [config.txt]: /pub/configurations/config.txt
Password: xxxxx
Upload complete
switch:admin>
Protocol
If your site requires the use of Secure Copy, specify
scp
. Otherwise, specify
ftp
.
Server
Name or IP
Address
Enter the name or IP address of the server where the file is stored; for
example,
192.1.2.3
. You can enter a server name if DNS is enabled.
User name
Enter the user name of your account on the server, for example,
JohnDoe
.
File name
Specify the full path name of the backup file, for example,
/pub/configurations/config.txt
.
Password
Enter your account password for the server.