CCNA Network Technology Lab Manual: Cisco IOS backup and upgrade

Source: Internet
Author: User

[Lab environment]

Cisco Packet Tracer 5.3.2

[PURPOSE]

Exercise Cisco IOS backup and upgrade

[Experiment topology]

Lab procedure]

1. connect devices by topology. This time, the 2950 switch is used as the Cisco IOS bearer body because it is easy to configure the router interface. This time, I will take a look at the IP Address Configuration of the switch. The server is still a TFTP server. in the real environment, you only need to install a tftpd software on the PC.

Server IP Address: 1.1.1.250/24

2. Configure the Vlan 1 interface of the switch to configure the management IP address of the switch (it must be in the same network segment as the TFTP server)

Switch # conf t
Switch (config) # int vlan 1
Switch (config-if) # ip add 1.1.1.1 255.255.255.0
Switch (config-if) # no shut
Switch (config-if) # end

Remember that no shutdown is performed after the IP address of the vlan 1 interface is configured.

3. view the existing ios name on the vswitch.

Switch # dir flash:
Directory of flash :/

1-rw-3058048 <no date> c2950-i6q4l2-mz.121-22.EA4.bin

64016384 bytes total (60958336 bytes free)

4. Back up the Cisco ios image to the TFTP Server

Switch # copy flash: tftp:
Source filename []? C2950-i6q4l2-mz.121-22.EA4.bin
Address or name of remote host []? 1.1.1.250
Destination filename [c2950-i6q4l2-mz.121-22.EA4.bin]?
Writing c2950-i6q4l2-mz.121-22.EA4.bin ....!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK-3058048 bytes]
3058048 bytes copied in 4.844 secs (631000 bytes/sec)

5. Upgrade the Cisco ios image from the TFTP Server

The 2950 upgrade IOS image file on the TFTP server is c2950-i6q4l2-mz.121-22.EA8.bin

Switch # copy tftp: flash:
Address or name of remote host []? 1.1.1.250
Source filename []? C2950-i6q4l2-mz.121-22.EA8.bin
Destination filename [c2950-i6q4l2-mz.121-22.EA8.bin]?
Accessing tftp: // 1.1.1.250/c2950-i6q4l2-mz.121-22.EA8.bin...
Loading c2950-i6q4l2-mz.121-22.EA8.bin from 1.1.1.250 :!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!
[OK-3117390 bytes]
3117390 bytes copied in 1.875 secs (1662608 bytes/sec)

6. Delete the old IOS image file

Switch # dir flash:
Directory of flash :/

1-rw-3058048 <no date> c2950-i6q4l2-mz.121-22.EA4.bin
2-rw-3117390 <no date> c2950-i6q4l2-mz.121-22.EA8.bin

64016384 bytes total (57840946 bytes free)

Switch # delete c2950-i6q4l2-mz.121-22.EA4.bin
Delete file [c2950-i6q4l2-mz.121-22.EA4.bin]?
Delete flash:/c2950-i6q4l2-mz.121-22.EA4.bin? [Confirm]

Switch # dir flash:
Directory of flash :/

2-rw-3117390 <no date> c2950-i6q4l2-mz.121-22.EA8.bin

64016384 bytes total (60898994 bytes free)
Switch #

7. You can also specify the IOS

Switch (config) # boot system flash: xxx. bin

8. After reload is reloaded, the new IOS will be used.

Switch # reload

Related Article

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.