Radio Shack FC-241 ユーザーズマニュアル

ページ / 14
 
Configuring Additional File Transfer Functions
Configuring a Router as a Server
FC-244
Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.1
The following example a router to send a copy of the file gs7-k.9.17 in 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:
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. 
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.