Specifications
CHAPTER
7-1
Cisco ONS 15216 EDFA2 Operations Guide
78-13908-02
7
FTP Command Line
This chapter discusses the Cisco ONS 15216 FTP command line and explains how to get and send image
and configuration files between an FTP server and the Cisco ONS 15216.
Logging into the FTP Command Line
To start an FTP session, use the following command:
ftp>network host ftp server ip address
To log off, type quit at the FTP command line. This command disconnects the user from the remote
server and exits the FTP shell.
FTP Commands
Typing the help command in FTP command line mode displays a list of all FTP commands. See
Example 7-1.
Example 7-1 FTP Help Command
ftp> help
Available commands (optional parameters are in []):
cd dir Change remote directory to dir.
cdup Change remote directory to parent.
close Close ftp connection and quitftp shell.
get remote_file Get remote_file from remote server and save as
local_file.
lls List local files.
login [username]Login to remote server as username (prompted for
password).
ls [expr]Detailed listing of remote files matching expr.
nls [expr]Name only listing of remote files matching expr.
open ip_addressOpen a connection to server at ip_address and port.
put local_fileSend local_file to remote server and save as remote_file.
pwd Show current remote directory.
quit lose ftp connection and quit ftp shell.
type t Set type to t, either I image/binary or A ascii.