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
7-2
Cisco ONS 15216 EDFA2 Operations Guide
78-16033-01
Chapter 7 FTP Command Line
FTP Command Line
Step 5
At the ftp prompt, enter the following command:
ftp> type i
The ONS 15216 EDFA2 should respond as follows:
type set to BINARY
Step 6
At the ftp prompt, get the file from the remote server using the following command:
ftp> get 15216EdfaSw_2.x.x
When the command is entered, the file transfer begins. When the file transfer is complete, the following
information should be displayed:
Bytes received: 1963195
Transfer complete.
Step 7
At the ftp prompt, enter the following command:
ftp> quit
The FTP session is terminated and the following response should be displayed:
Ftp session terminated.
The ONS 15216 EDFA2 then returns to the hostname prompt.
Step 8
At the hostname prompt, check that the file was transferred and is complete using the following
command:
ash:hostname:ONS15216 EDFA2> ffs file list
7.1.2 Example of FTP to a Remote Server
The following procedure shows how to FTP a database backup file from the FFS of the
ONS 15216 EDFA2 to a remote server.
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.