HP StorageWorks Fabric OS 5.0.0 Command Reference Guide (AA-RW1MA-TE, May 2005)

116 Fabric OS commands
Uploads the switch configuration file to a host file.
Synopsis
configupload [-p ftp | scp][host,user,file[,passwd]]
Availability
admin
Description
Use this command to upload the switch configuration to a host file.
To upload the configuration file from a Microsoft Windows NT system using file transfer protocol (FTP), the
FTP server might have to be installed from the distribution media and enabled. The FTP service is widely
available on UNIX hosts but less so on Windows hosts. The FTP server must be running before a download
can occur.
Use -p scp to securely upload the file through an SSH connection. Instead of entering a password on the
command line, SCP prompts you for the password, if necessary. The SSH service is available on both
UNIX and Windows hosts.
If the command is entered without operands, it becomes interactive and prompts the user for input.
The upload might fail for the following reasons:
The host name is not known to the switch.
The host IP address cannot be contacted.
The user does not have permission on the host.
The user runs a script that prints something at login.
The FTP server is not running on the host.
There are three types of lines in the configuration file:
License keys are encrypted ASCii strings and are listed one key per line.
Comments have a bracket ( [ ) as the first character of the line. (When read by configDownload, a
line beginning with any punctuation is treated as a comment.)
Name:value pairs have the following syntax:
NOTE: Elements enclosed in curly braces ( {...} ) indicate zero or more occurrences of the enclosed
elements.
configUpload
line name : value
name component {“.” component}
space {“ ” | t”}
component {“a” - “z” | “A” - “Z” | “0” - “9” | “_” | “-”}
value {<any character not including n”>}