TFTP server-side-------------------Router
192.168.1.1 192.168.1.2 f0/0
(1) First set the IP address of the TFTP server to feed 192.168.1.1
(2) Routing configuration
Router〉enable
Router #
Router #configure Terminal
Router (config) #
Router (config) #interface f0/0
Router (config-if) #ip address 192.168.1.2 255.255.255.0! Set the interface IP address
Router (config-if) #no shutdown! Open Interface
Router (config-if) #
00:01:54:%link-3-updown:interface fastethernet0/0,changed state-to-up
00:01:56:%lineproto-5-updown:line protocol on Interface fastethernet0/
0,chang
Ed state to up
Router (config-if) #^z! Use CTRL + Z to exit to privileged mode
Router #write Memory
Router #ping 192.168.1.1!ping computer's IP address for a single-segment test
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
.!!!!
Success rate is percent (4/5), round-trip Min/avg/max =1/1/4 ms! If the ping test
Normally, you can enter a command under privileges to download the configuration file.
Router #copy Running-config TFTP
Address or name of remote host []?192.168.1.1
Destination filename [router-confg]? Hit Enter to keep the default file name
!!
536 bytes copied in 1.138 secs (536 bytes/sec)
Check the TFTP interface and if any information is displayed, the configuration file transfer is successful.
Copy router configuration files to local via TFTP server