4-50
Cisco ONS 15501 User Guide
78-14134-01, Release 1.0
Chapter 4 Command Reference
sw-download
sw-download
To download an image via ftp or tftp and burn it to a specified Flash bank, use the sw-download
command.
sw-download mode server-ip [username password path] filename flashbank [passive]
Syntax Description
Defaults None
Command Types Changes configuration
Command Modes Master password protected
Command History
Examples The following example shows how to download an image via ftp and burn it to a specified Flash bank.
edfa > sw-download ftp 209.128.68.145 opruser oprpassword /home/load/bin EdfaImg.0.2 2
The following example shows how to download an image via tftp and burn it to a specified Flash bank.
edfa > sw-download tftp 209.128.68.145 EdfaImg.0.2 2
mode Specifies the desired mode. It should be designated as ftp or tftp.
server-ip Specifies the IP address of the ftp or tftp server that contains the
image.
username Specifies the username to log in to the ftp server. This is not
required for tftp.
password Specifies the password of the user. This is not required for tftp.
path Specifies the path of the directory that contains the image. This is
not required for tftp.
filename Specifies the name of the image file.
flashbank Specifies the Flash bank where the image is to be burned. It should
be designated as 1, 2, or 3. When burning a new image, the Flash
bank specified cannot be the current Flash bank.
passive Specifies the string for ftp across a firewall. This is not required for
ftp.
Release Modification
EDFA 1.0 This command was introduced.