F I N A L D R A F T - C I S C O C O N F I D E N T I A L

C H A P T E R 7

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 FTP Command Line

To start an FTP session, use the following command:

ash:hostname:ONS15216 EDFA2> network host ftp 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.1.1 Example of FTP from a Remote Server

The following procedure shows how to FTP an image file from a remote server to the FFS of the ONS 15216 EDFA2.

Step 1 At the hostname prompt, enter the following command to log in to the FTP site.

ash:hostname:ONS15216 EDFA2> network host ftp FTP_server_IP_address

The ONS 15216 EDFA2 should respond as follows:

connecting to FTP_server_IP_address connected to FTP_server_IP_address

Once the login process is completed, the ftp prompt should be available.

Step 2 At the ftp prompt, enter the command as shown below to complete the FTP logon.

ftp> login FTP_username

Step 3 When prompted, enter the FTP user password as shown.

Password: *****

The ONS 15216 EDFA2 should respond as follows:

230 User FTP_username logged in.

Step 4 At the ftp prompt, change directories to where the remote file is located using the following command:

ftp> cd /Directory_of_FTP_site

Cisco ONS 15216 EDFA2 Operations Guide

 

78-16033-01

7-1

 

 

 

Page 133
Image 133
Cisco Systems manual FTP Command Line, Example of FTP from a Remote Server, ONS 15216 EDFA2 should respond as follows