0% found this document useful (0 votes)
93 views3 pages

TFTP 1

Cisco IOS Configuration Fundamentals Configuration Guide, Release 12. This chapter describes how to configure a router as a TFTP or RARP server. For a complete description of the file transfer function commands mentioned in this chapter, refer to the "Basic File Transfer Services Commands" chapter in the book.

Uploaded by

Tbs Prasad
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
93 views3 pages

TFTP 1

Cisco IOS Configuration Fundamentals Configuration Guide, Release 12. This chapter describes how to configure a router as a TFTP or RARP server. For a complete description of the file transfer function commands mentioned in this chapter, refer to the "Basic File Transfer Services Commands" chapter in the book.

Uploaded by

Tbs Prasad
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Cisco IOS Conguration Fundamentals Congurati...

http://www.cisco.com/en/US/docs/ios/12_2/congfu...

Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2

Configuring Basic File Transfer Services


Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 About Cisco IOS Software Documentation Configuration Fundamentals Overview Part 1: Cisco IOS User Interfaces Part 2: File Management Using the Cisco IOS Integrated File System (IFS) Managing Configuration Files Loading and Maintaining System Images Maintaining System Memory Rebooting Configuring Basic File Transfer Services Part 3: System Management Part 4: Appendixes

Table Of Contents
Configuring Basic File Transfer Services Configuring Basic File Basic File Transfer Services Configuration Task Transfer Services List Download the complete book Configuring a Router as a TFTP or RARP Server Book-level PDF: Cisco IOS Configuring a Router as a TFTP Server Configuration Fundamentals TFTP Router Configuration Prerequisite Configuration Guide, Tasks Release 12.2 (PDF - 6 MB) Enabling the TFTP Server Configuring the Client Router Configuring a Router as a RARP Server Configuring System BOOTP Parameters Configuring a Router to Use rsh and rcp Specifying the Source Interface for Outgoing RCMD Communications About DNS Reverse Lookup for rcmd Enabling and Using rsh Maintaining rsh Security Configuring the Router to Allow Remote Users to Execute Commands Using rsh Executing Commands Remotely Using rsh Enabling and Using rcp Configuring the Router to Accept rcp Requests from Remote Users Configuring the Remote to Send rcp Requests Configuring a Router to Use FTP Connections
Download this chapter

Configuring Basic File Transfer Services


This chapter describes how to configure a router as a Trivial File Transfer Protocol (TFTP) or Reverse Address Resolution Protocol (RARP) server, configure the router to forward extended BOOTP requests over asynchronous interfaces, and configure rcp, rsh, and FTP in Cisco IOS Release 12.2. For a complete description of the file transfer function commands mentioned in this chapter, refer to the "Basic File Transfer Services Commands" chapter in the Release 12.2 Cisco IOS Configuration Fundamentals Command Reference. To locate documentation of other commands that appear in this chapter, use the Cisco IOS Command Reference Master Index or search online. To identify hardware or software image support for a specific feature, use Feature Navigator on Cisco.com to search for information about the feature or refer to the software release notes for a specific release. For more information, see the "Identifying Platform Support for Cisco IOS Software Features" section in the "About Cisco IOS Software Documentation" chapter.

Basic File Transfer Services Configuration Task List


To configure basic file transfer services, perform any of the tasks described in the following sections: Configuring a Router as a TFTP or RARP Server Configuring System BOOTP Parameters Configuring a Router to Use rsh and rcp Configuring a Router to Use FTP Connections

All tasks in this chapter are optional.

Configuring a Router as a TFTP or RARP Server


It is too costly and inefficient to have a machine that acts only as server on every network segment. However, when you do not have a server on every segment, your network operations can incur substantial time delays across network segments. You can configure a router to serve as a RARP or TFTP server to reduce costs and time delays in your network while allowing you to use your router for its regular functions.

1 of 3

Tuesday 20 September 2011 11:30 PM

Cisco IOS Conguration Fundamentals Congurati...

http://www.cisco.com/en/US/docs/ios/12_2/congfu...

Typically, a router that is configured as a TFTP or RARP server provides other routers with system image or router configuration files from its Flash memory. You can also configure the router to respond to other types of service requests, such as requests.

Configuring a Router as a TFTP Server


As a TFTP server host, the router responds to TFTP Read Request messages by sending a copy of the system image contained in ROM or one of the system images contained in Flash memory to the requesting host. The TFTP Read Request message must use one of the filenames that are specified in the configuration.

Note For the Cisco 7000 family, the filename used must represent a software image that is present in Flash memory. If no image resides in Flash memory, the client router will boot the server's ROM image as a default. Flash memory can be used as a TFTP file server for other routers on the network. This feature allows you to boot a remote router with an image that resides in the Flash server memory. Some Cisco devices allow you to specify one of the different Flash memory locations (bootflash:, slot0:, slot1:, slavebootflash:, slaveslot0:, or slaveslot1:) as the TFTP server. In the description that follows, one Cisco 7000 router is referred to as the Flash server, and all other routers are referred to as client routers. Example configurations for the Flash server and client routers include commands as necessary.

TFTP Router Configuration Prerequisite Tasks


The server and client router must be able to reach each other before the TFTP function can be implemented. Verify this connection by testing the connection between the server and client router (in either direction) using the ping a.b.c.d command (where a.b.c.d is the address of the client device). After the ping command is issued, connectivity is indicated by a series of exclamation points (!), while a series of periods (.) plus [timed out] or [failed] indicates that the connection attempt failed. If the connection fails, reconfigure the interface, check the physical connection between the Flash server and client router, and ping again. After you verify the connection, ensure that a TFTP-bootable image is present on the server. This is the system software image the client router will boot. Note the name of this software image so you can verify it after the first client boot.

Caution For full functionality, the software image sent to the client must be the same type as the ROM software installed on the client router. For example, if the server has X.25 software, and the client does not have X.25 software in ROM, the client will not have X.25 capabilities after booting from the server's image in Flash memory.

Enabling the TFTP Server


To enable TFTP server operation, use the following commands, beginning in privileged EXEC mode:

2 of 3

Tuesday 20 September 2011 11:30 PM

Cisco IOS Conguration Fundamentals Congurati...

http://www.cisco.com/en/US/docs/ios/12_2/congfu...

Command
Step 1
Router# configure terminal Router(config)# tftp-server flash [partitionnumber:]filename1 [alias filename2] [accesslist-number]

Purpose
Enters global configuration mode. Specifies the system image to send in response to Read Requests. You can enter multiple lines to specify multiple images.

Step 2

or
Router(config)# tftp-server flash device:filename (Cisco 7000 family only)

or
Router(config)# tftp-server flash [device:][partitionnumber:]filename (Cisco 1600 series and Cisco 3600 series only)

or
Router(config)# tftp-server rom alias filename1 [accesslist-number]

Step 3

Router(config)# end

Ends the configuration session and returns you to privileged EXEC mode. Saves the running configuration to the startup configuration file.

Step 4

Router# copy runningconfig startup-config

Terms & Conditions | Privacy Statement | Cookie Policy | Trademarks

3 of 3

Tuesday 20 September 2011 11:30 PM

You might also like