HP StorageWorks Fabric OS 5.3.x administrator guide (5697-0244, November 2009)

112 Maintaining configurations
Configuration download without disabling a switch
Starting in Fabric OS 5.2.x, you can download configuration files to a switch while the switch is enabled,
that is, you do not need to disable the switch for changes in SNMP, Fabric Watch, and ACL parameters.
When you use the configDownload command, you will be prompted to disable the switch
only when
necessary
. However, if there is any changed parameter that does not belong to SNMP, Fabric Watch, or
ACL, then you must disable the switch.
Configuration download without disabling a switch is independent of the hardware platform and
supported on all hardware platforms running Fabric OS 5.2.x and higher.
You may wish to first attempt downloading a configuration file first without disabling the switch. If there is
at least one changed parameter outside of SNMP, Fabric Watch, and ACL, you will be prompted to
disable the switch before proceeding.
To restore a configuration:
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. If there are any changed parameters in the configuration file that do no belong to SNMP, Fabric
Watch, or ACL, disable the switch by entering the switchDisable command.
4. Enter the configDownload command.
The command becomes interactive and you are prompted for the required information.
5. Respond to the prompts as follows:
6. At the “Do you want to continue [y/n]” prompt, enter y.
7. Wait for the configuration to be restored. The following example shows configDownload run on a
switch without Admin Domains.
8. If you disabled the switch, when the process is finished, enter the switchEnable command.
Protocol (scp
or ftp)
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. Note that this is a required
field even if you are logged in as an anonymous user; in such cases, the
value may be ignored by the FTP service.
switch:admin> configdownload
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
*** CAUTION ***
This command is used to download a backed-up configuration
for a specific switch. If using a file from a different
switch, this file's configuration settings will override
any current switch settings. Downloading a configuration
file, which was uploaded from a different type of switch,
may cause this switch to fail. A switch reboot might be
required for some parameter changes to take effect.
Do you want to continue [y/n]: y
download complete..
switch:admin> switchenable