Radio Shack FC-241 manual Configuring the Client Router, FC-244

Page 4

Configuring Additional File Transfer Functions

Configuring a Router as a Server

The following example a router to send a copy of the file gs7-k.9.17in Flash memory in response to a TFTP Read Request. The client router must reside on a network specified by access list 1. Thus, in the example, the any clients on network 172.16.101.0 are permitted access to the file.

Server# configure terminal

Enter configuration commands, one per line. End with CTRL/Z

Server(config)# tftp-server flash gs7-k.9.17 1

Server(config)# access-list 1 permit 172.16.101.0 0.0.0.255

Server(config)# end

Server# copy running-config startup-config

[ok]

Server#

Configuring the Client Router

Configure the client router to first load a system image from the server. As a backup, configure the client router to then load its own ROM image if the load from a server fails. To configure the client router, use the following commands beginning in privileged EXEC mode:

 

Command

Purpose

Step 1

 

 

configure terminal

Enters global configuration mode from the terminal.

Step 2

 

 

no boot system

Removes all previous boot system statements from

 

 

the configuration file.

Step 3

 

 

boot system [tftp] filename [ip-address]

Specifies that the client router load a system image

 

 

from the server.

Step 4

 

 

boot system rom

Specifies that the client router loads its own ROM

 

 

image if the load from a server fails.

Step 5

 

 

config-register value

Sets the configuration register to enable the client

 

 

router to load a system image from a network server.

Step 6

 

 

end

Exits global configuration mode.

Step 7

 

 

copy running-config startup-config

Saves the configuration file to your startup

 

 

configuration.

Step 8

 

 

reload

Reloads the router to make your changes take effect.

Step 9

 

 

 

(Router reboots.)

Step 10

 

 

show version

Verifies that the client router booted the correct image

 

 

from the TFTP server.

 

 

 

Caution Using the no boot system command, as in the following example, will invalidate all other boot system commands currently in the client router system configuration. Before proceeding, determine whether the system configuration stored in the client router should first be saved (uploaded) to a TFTP file server so you have a backup copy.

Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.1

FC-244

Image 4
Contents Additional Functions Task List Configuring a Router as a ServerFC-241 Performing Prerequisite Tasks Configuring a Router as a Tftp ServerFC-242 Configuring the Server FC-243Configuring the Client Router FC-244FC-245 Client show versionConfigures the router as a Rarp server Configuring a Router as a Rarp ServerFC-246 Router a has the following configuration FC-247Configuring a Router to Use rsh and rcp Disabling DNS Reverse Lookup for RcmdOutgoing rsh and rcp traffic FC-248Configuring a Router to Use rsh Disables Domain Name Service DNS lookup for rsh and rcpMaintaining rsh Security CommunicationsExecuting Commands Remotely Using rsh FC-250Configuring a Router to Use rcp FC-251Configuring the Remote to Send rcp Requests FC-252Configuring a Router to Use FTP Connections FTP Configuration Task ListConfiguring FTP Connections FC-253FC-254