Specifications
7-2
Cisco ONS 15216 EDFA2/EDFA2-A Operations Guide, R2.4
July 2004
Chapter 7 File Transfers
7.1.2 Example of FTP to a Remote Server
Step 5 At the ftp prompt, change directories to where the remote file is located using the following command:
ftp>
cd /
Directory_of_FTP_site
Step 6 At the ftp prompt, enter the following command:
ftp>
type i
The ONS 15216 EDFA2 should respond as follows:
type set to BINARY
Step 7 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 8 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 9 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 Start FTP on the remote server.
Step 2 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 3 At the ftp prompt, enter the command as shown below to complete the FTP logon.
ftp>
login
FTP_username
Step 4 When prompted, enter the FTP user password as shown.
Password:
*****