
Configuring the SAN Integrated Switch
3–13
Figure 3–3: configUpload command example 1
An upload may fail for one of the following reasons:
■
The switch element does not recognize the host name.
■
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 RSHD or FTP server is not running on the host.
The configuration file contains two types of lines: comments and name: value pairs.
Comments are written with a left bracket ([) as the first character of the line. When read
back using
configDownload
, a line beginning with any punctuation character is treated as a
comment (see Table 3–3).
NOTE:
Elements enclosed in braces indicate zero or more occurrences of the enclosed
elements.
The configuration file is written as three sections. The first section contains the switch
element boot parameters (otherwise known as the switch element’s identity), with
variables such as the switch element’s name and IP address. This section corresponds to
the first few lines of output of the
cfgShow
command.
switch:admin>configUpload
Server Name or IP Address [host]:
IP Address for Server:
User Name [user]:
File Name [config.txt]:
Protocol (RSHD or FTP) [rshd]:
Table 3–3: Syntax of a Name: Value Pair
Name
Value
line
whitespace name whitespace “:” whitespace value
name
component {“.” component}
whitespace
{““| “ “}
component
{“a”-”z” | “A”-”Z” | “0”-”9” | “_” | “-”}
value
{<any character not including “”>}