Discuss Routing Switch backup and upgrade issues

Source: Internet
Author: User

The route switch in China is developing very fast. Many people may not know about the backup and upgrade of the route switch. It does not matter. After reading this article, you will certainly have a lot of GAINS. I hope this article will teach you more. If you are upgrading IOS through the network, there is no restriction on the interface for running the TFTP Server host to connect to the routing switch. The address of the TFTP Server can be defined at will, but it must be in the same network segment as the address defined by the network device. When connecting to a vro, you must use the first Ethernet port of the vro, that is, Ethernt0 to Cisco 2500 series, etc.) and Ethernet0/0 to Cisco 2600 series). Other series are slightly different, it can be determined according to the user manual. The following describes how to fix IOS files.

1. Deploy TFTP

First, install the TFTP Server software. Here we use the TFTP Server software of Cisco TFTP Server, which can be downloaded from the Cisco website. The configuration of the Cisco TFTP Server is very simple, and there is almost no need to change its configuration. You can change its root directory as needed, and select the location in Figure 6-6. Put the IOS file in the root directory of the TFTP Server Directory. If the TFTP Server software is installed with the Cisco TFTP Server directory on the machine, put the new IOS file in the Cisco TFTP Server Directory. You can also specify the location where IOS files are stored.

2. Upgrade the route switch IOS

First, use the Console to connect the Console port of the route switch to the COM1 port or USB port of the computer, depending on the configuration line. For details about the configuration method, see Chapter 5th ), the network cable connects the Fast Ethernet0/1 port of the route switch to the computer's Ethernet port, opens the TFTP server software, and sets its root directory to the directory where the IOS file is located.
To enable the switch to communicate with the TFTP server, you must set an IP address for the route switch and the TFTP server.

1) set the TFTP server address

First, set the IP address of the computer running TFTP to 192.168.0.1.

2) set the IP address of the route Switch

Use the super terminal software that comes with Windows to set the IP address of the route switch to the same network segment as the IP address of the computer. A layer-3 router switch can set IP addresses for interfaces, while a layer-2 router switch needs to set IP addresses for VLAN upgrading. The procedure is as follows.
Step 2: enter global configuration mode
Switch # configure terminal
Step 2: Enter the management VLAN Interface Mode
Switch (config) # interface vlan 99
Step 2: configure the IP address
Switch (config-if) # ip address 192.168.0.2 255.255.255.0
Step 2: Divide Fasethernet 4th into VLANs
Switch (config-if) # interface fasethernet 0/1
Switch (config-if) # witch access vlan 99
Step 2: Return to global configuration mode
Switch # exit

3) Back up old IOS

In privileged mode, enter the Show Flash command to view the file name of IOS in the current routing switch Flash: c2950-c3h2s-mz.120-5.3.WC.1.bin and related information. Before the upgrade, you need to back up the IOS file to prevent unexpected recovery to the initial state during the upgrade.
Switch # copy flash tftp
Source filename []? C2950-c3h2s-mz.120-5.3.WC.1.bin // enter IOS file name
Address or name of remote host []? 192.168.0.1 // enter the TFTP address
Destination filename [c2950-c3h2s-mz.120-5.3.WC.1.bin]? // You can change the name or use the default

4) delete old IOS

The replication time is related to the IOS size. Please wait. After the backup is complete, copy the new IOS file to flash. However, the show flash command shows that the remaining storage space in Flash is less than the IOS file to be upgraded. In order to enable the new IOS file to be merged into the Flash of the routing switch, you must first Delete the original IOS file.
Switch # delete flash: c2950-c3h2s-mz.120-5.3.WC.1.bin // copy files from Flash to tftp
Delete filename [c2950-c3h2s-mz.120-5.3.WC.1.bin] // OK, press ENTER
Delete flash: c2950-c3h2s-mz.120-5.3.WC.1.bin? [Confirm] // confirm, press ENTER

5) upgrade IOS

Make sure that the IOS file in Flash has been deleted. Before the new IOS file is copied to the route switch, make sure that the route switch is not restarted. Otherwise, the route switch cannot be started normally.
Switch # copy tftp flash: // copy the file from tftp to flash
Address or name of remote host []? 192.168.0.1 // enter the TFTP address
Source filename []? C2950-i6k2l2q4-mz.121-22. EA8a. bin // enter the updated IOS name
Destination filename [c2950-i6k2l2q4-mz.121-22.EA8a.bin]? // Confirm and press ENTER
After the new IOS file is successfully copied to Flash, enter reload to restart the switch. If the routing switch can be restarted properly, check that the IOS file in Flash has become a c2950-i6k2l2q4-mz.121-22.EA8a.bin. Now, the upgrade of IOS is complete, and you can delete the temporary VLAN.

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.