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

Fabric OS 5.0.0 command reference guide 117
The configuration file is written as three sections. The first section contains the switch boot parameters. It
has variables such as the switch’s name and IP address. This section corresponds to the first few lines of
output of the configShow command.
The second section contains general switch configuration variables, such as diagnostic settings, fabric
configuration settings, and SNMP settings. This section corresponds to the output of the configShow
command (after the first few lines), although there are more lines uploaded than shown by the command.
The third sections contains zoning configuration parameters.
NOTE: In Fabric OS v4.x, no spaces are allowed between operands. None of the operands use
quotation marks.
Operands
This command has the following optional operands:
Examples
To upload a configuration file using FTP to host “citadel”, using accountjdoe, and file
config.txt”:
To upload the same configuration file using SCP:
To upload the configuration file interactively:
host Specify a host name or IP address, in quotation marks: for example, “citadel” or
192.168.1.48. The configuration file is downloaded from this host system.
user Specify a user name in quotation marks: for example, “jdoe. This user name is
used to gain access to the host.
file Specify a file name in quotation marks; for example: “config.txt”. Absolute
path names might be specified using forward slash (/). Relative path names create
the file in the user’s home directory on UNIX hosts and in the directory where the
FTP server is running on Windows hosts.
passwd Specify a password, in quotation marks.
switch:admin> configupload "citadel","jdoe","config.txt","passwd"
upload complete
switch:admin> configupload -p scp "citadel","jdoe","config.txt"
jdoe@citadel’s password: ********
upload complete
sw5:admin> configUpload
Protocol (scp or ftp) [ftp]: ftp
Server Name or IP Address [host]: 123.123.123.123
User Name [None]: user21
File Name [config.txt]: config-switch.txt
Password: xxxxxxxx
upload complete