Cisco TFTP Server experiment and Operation

Source: Internet
Author: User

1.1 tutorial purpose:
Learn to use the TFTP Server.
1.2 experiment content
L understand the significance of TFTP Server;
L learn how to use the TFTP Server to save configuration files such as flash and startup-config on the vro;
L learn how to load and save the configuration file through the TFTP Server;
1.3 tutorial steps:
Follow the instructions below to connect to the network device
 
 
 
1. First, we need a TFTP Server running in our network;
2. Once we enable a TFTP Server, we need to use the PING command on the router to ensure that the TFTP Server can arrive. Of course, we also need to record the address of your TFTP Server, for example, here we use 192.168.1.25 as the address of our TFTP Server. If PING from this address is correct, we can directly use copy flash tftp. However, if there is a problem, you must solve the problem first and then use the copy flash tftp Command;
3. Check the flash capacity and the file name of the IOS operating system on the local router. Run the show flash command to view the flash file;
4. Router # copy flash tftp
IP address or name of remote host [255.255.255.255]?
Here we will ask you what the address of the server you want to store your flash is. Here we ENTER 192.168.1.25 and press ENTER;
(1) filename to write on tftp host?
Here, why is the flash file stored in the destination? Enter lab_ B .ios here;
(2) then you will see:
Writing lab_ B .ios !!!!!!!!!!!! ...... !!!!!!!!!!!!!!!!!!!
5926652 bytes copied in 82.712 secs (71654 bytes/sec)
The above information indicates that your storage has been successfully completed, and the copy flash tftp has been successfully completed. Once the copy command is complete, the router will tell us, the copied files occupy the TFTP Server space and total time consumption;
(3) Then we will learn how to load the IOS backup file stored in the TFTP Server:
(4) first, we need to confirm that the TFTP Server can arrive, and then we need to use the show flash command to confirm that our vro has enough space to load the new IOS software, finally, we need to check what our new IOS file is on the remote server. Because we are in the experimental environment, we only need to check it briefly. Our file name is lab_ B .ios;
(5) If there is no problem, enter:
Router # copy tftp flash
Enter 192.168.1.25 in IP address or name of remote host [255.255.255.255;
In Name of tftp filename to copy into flash []?
Enter lab_ B .ios
In copy lab_ B .ios from 192.168.1.25 into flash memory? [Confirm] Press Enter next to it. If there is no problem, the loading of flash will be completed.
1.4 experiment reference
1. log on to the vrotelnet through a Super Terminal or telnet.
2. Use the enable command to enter the privileged mode.
3. Run the ping xxx. xxx command to check the connectivity between the router and the TFTP router.
4. Check the IP address and network mask of each port of the vro. Fill in the following.
5. Run the copy flash tftp Command to save the current configuration to the TFTP server.
Copy flash tftp
The Source filename [c2600-ds-mz.121-18.bin]?
Address or name of remote host []? 219.17.100.18
Destination filename [c2600-ds-mz.121-18.bin]? Lab_ B
!!!!!!!!!!!! ...... !!!!!!!!!!!!!!!!!!!
8334396 bytes copied in 52.486 secs (160276 bytes/sec)
6. Run the copy running-config tftp Command to save the current configuration to the TFTP server.
7. Run the erase startup-config command to delete configurations in NVRAM. Run the show startup-config command to confirm that the configurations in NVRAM have been deleted.
8. Run the reload command to restart the vro. When the system prompts to enter the initial configuration dialog, enter no. When the system prompts terminate autoinstall, enter yes.
Use the enable command to enter the privileged mode.
9. Configure the IP address and network mask that will be used to transmit the TFTP file port.
10. Run the copy tftp running-config command to copy the configuration file on TFTP to the vro. Then, enter the Server IP address and the file name to be saved as prompted.
Copy tftp running-config
Address or name of remote host []? 219.17.100.18
Source filename []? Lab_b-confg
Destination filename [running-config]?
Accessing tftp: // 219.17.100.18/lab_b-confg...
Loading lab_b-confg from 219.17.100.18 (via FastEthernet0/0 ):!
[OK-835/1024 bytes]
835 bytes copied in 18.783 secs (46 bytes/sec)
11. Run the show running-config command to view the current configuration. Is it the same as before? Enter the answer below.
12. Run the copy running-config startup-config command to copy the current configuration to NVRAM.
 
From Network Studio®Blog

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.