HP StorageWorks XPath OS 7.4.X Administrator Guide (AA-RVHDD-TE, February 2006)
34 Performing basic maintenance
3. Issue the configUpload command:
configupload -h hostName -f destFileName -u userName -p password
[-t fileTransferProtocol] [-l configuration]
The following example uploads a configuration to file misc/config2.txt located on the host at IP
address 10.7.32.168, using account JohnDoe and password guest:
Restoring a configuration
1. Verify that the FTP service is running on the host workstation and that you have an account on that host.
2. Log in as admin.
3. Issue the switchDisable command to disable the switch.
4. Issue the configDownload command:
configdownload -h hostName -f sourceFileName -u userName -p password
[-t fileTransferProtocol] [-l configuration]
5. Issue the reboot command to reboot the MP Router.
The following example downloads a configuration file stored at misc/config2.txt on the host at IP
address 10.7.32.168, using account JohnDoe and password guest:
Printing configuration information
1. Log in as admin.
2. Enable your telnet logging functionality to create a log file and execute the following commands, or
execute the commands and paste their output to a text file:
• licenseShow displays the license keys that are installed.
• configShow displays configuration parameter and setup information, including the port settings.
• ipAddrShow displays the configured IP addresses.
3. Print a copy of the output and store it in a safe location.
where:
-h hostName Specifies the IP address of the FTP server.
-f destFileName Specifies the destination file name.
-u userName Specifies the account name on the FTP server.
-p password Specifies the password for the account.
-t fileTransferProtocol Specifies the file transfer protocol.
-l configuration Displays the current upload configuration.
router:admin> configupload -h 10.7.32.168 -f misc/config2.txt -u JohnDoe -p guest
where:
-h hostName Specifies the IP address of the FTP server.
-f sourceFileName Specifies the full path name of a previously
stored configuration file.
-u userName Specifies the account name on the FTP server.
-p password Specifies the password for the account.
-t fileTransferProtocol Specifies the file transfer protocol.
-l configuration Displays the current download configuration.
router:admin> configdownload -h 10.7.32.168 -f misc/config2.txt -u JohnDoe -p
guest