|
Table Of Contents
7.1 Logging into the FTP Command Line
FTP Command Line
This chapter discusses the Cisco ONS 15216 EDFA2 FTP command line and explains how to get and send image and configuration files between an FTP server and the ONS 15216 EDFA2.
7.1 Logging into the FTP Command Line
To start an FTP session, use the following command:
ash:hostname:ONS15216 EDFA2> 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.
7.2 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 quit ftp 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_address Open a connection to server at ip_address and port.
put local_file Send 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.
Posted: Sun Apr 2 03:05:57 PDT 2006
All contents are Copyright © 1992--2006 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.