Inputting or restoring the configuration – HP 6Gb SAS Switch for HP BladeSystem c-Class User Manual
Page 72

Inputting or restoring the configuration
To restore a previously saved configuration of a switch, use the following command description:
NOTE:
A configuration can be installed on a switch directly from an FTP server or by using a
secure copy tool to temporarily save the configuration to the switch and then install it. Example
secure copy tools include pscp.exe for Windows and scp for Linux.
Syntax
[file=
[user=
Example 1: This example demonstrates inputting a configuration that was previously captured on
an FTP server.
=> switch loc=local input file=filename.cfg ftp ipaddr=111.222.333.444
Example 2: This example demonstrates inputting a configuration that was previously captured and
saved to the server.
1.
Enter the following to copy the configuration file filename.cfg from the server to the /var/
image
directory on the switch:
In Windows environments, enter a command similar to the following:
pscp -scp c:\backup\filename.cfg [email protected]:/var/image/config.cfg
In Linux environments, enter a command similar to the following:
scp /home/userXXX/filename.cfg [email protected]:/var/image/.
2.
From the VSM CLI prompt, enter the following to install the configuration on the switch.
=> switch loc=local input file=filename.cfg
72
Performing common tasks