Radio Shack FC-241 manual Configuring a Router to Use FTP Connections, FTP Configuration Task List

Page 13

Configuring Additional File Transfer Functions

Configuring a Router to Use FTP Connections

If the server has a directory structure, the configuration file or image is written or copied relative to the directory associated with the remote username on the server. Use the ip rcmd remote-usernamecommand to specify which directory on the server to use. For example, if the system image resides in the home directory of a user on the server, you can specify that user’s name as the remote username.

If you copy the configuration file to a personal computer used as a file server, the computer must support rsh.

To override the default remote username sent on rcp requests, use the following commands starting in privileged EXEC mode:

 

Command

Purpose

Step 1

 

 

configure terminal

Enters global configuration mode from the terminal

Step 2

 

 

ip rcmd remote-username username

Specifies the remote username.

 

 

 

To remove the remote username and return to the default value, use the no ip rcmd remote-usernamecommand.

Configuring a Router to Use FTP Connections

You configure a router to transfer files between systems on the network using the Internet File Transfer Protocol (FTP). With the Cisco IOS implementation of FTP, you can set the following features:

Passive-mode FTP

User name

Password

IP address

FTP Configuration Task List

Use the instructions in the section “Configuring FTP Connections” to configure FTP on a router.

Configuring FTP Connections

To configure FTP connections on a router, use the following commands in global configuration mode:

Command

Purpose

 

 

ip ftp username string

Specifies the user name to be used for the FTP connection.

 

 

ip ftp password [type] password

Specifies the password to be used for the FTP connection.

 

 

ip ftp passive

Configures the router to only use passive-mode FTP connections.

or

Allows all types of FTP connections (default).

 

no ip ftp passive

 

 

 

ip ftp source-interface interface

Specifies the source IP address for FTP connections.

 

 

Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.1

FC-253

Image 13
Contents Additional Functions Task List Configuring a Router as a ServerFC-241 Performing Prerequisite Tasks Configuring a Router as a Tftp ServerFC-242 FC-243 Configuring the ServerFC-244 Configuring the Client RouterClient show version FC-245Configures the router as a Rarp server Configuring a Router as a Rarp ServerFC-246 FC-247 Router a has the following configurationDisabling DNS Reverse Lookup for Rcmd Configuring a Router to Use rsh and rcpOutgoing rsh and rcp traffic FC-248Disables Domain Name Service DNS lookup for rsh and rcp Configuring a Router to Use rshMaintaining rsh Security Communications FC-250 Executing Commands Remotely Using rshFC-251 Configuring a Router to Use rcpFC-252 Configuring the Remote to Send rcp RequestsFTP Configuration Task List Configuring a Router to Use FTP ConnectionsConfiguring FTP Connections FC-253FC-254