configDownload
Downloads a switch configuration file from a host file.
Synopsis
configdownload [-p ftp] "host","user","file","passwd"
configdownload -p scp "host","user","file"
configdownload
Availability
admin
NOTE:
The switchAdmin role is not allowed to change the zoning and security configuration. Therefore,
zoning and security sections in the configuration being downloaded to the switch are ignored. See
"MUA-based
Description
Use this command to download a switch configuration file from a host file. The configuration file is ASCII
text and might have been generated using configUpload, or it might have been created by a user to
download specific configuration changes. See
To restore the configuration file from a Microsoft
the FTP server might have to be installed from the distribution media and enabled. The FTP service is
widely available on UNIX
download can occur.
Use -p scp to securely download 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.
This command can be invoked without any operands, creating an interactive session.
The download might fail for the following reasons:
•
The switch has not been disabled.
•
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 file does not exist on the host.
•
The file is not a switch configuration file.
•
The FTP server is not running on the host.
•
The configuration data contains errors.
When the switch is in secure mode, the following rules and restrictions apply:
•
Both defined security policies and active security policies sections must exist and contain the
FCS_POLICY.
roles" on page 777 for more information.
hosts but less so on Windows
®
for a configuration file format description.
configUpload
Windows NT
system using file transfer protocol (FTP),
®
®
hosts. The FTP server must be running before a
®
Fabric OS 5.x command reference guide 115