Vro for TFTP server IOS upgrade

Source: Internet
Author: User

I have a 2501 router whose IOS is bad (cisocB), another 2501 router whose IOS is good (ciscoA), and a good IOS has no more on my PC, however, it is a waste of time to create a TFTP file on the PC and upload it to the PC. Then I thought of a way to directly configure the vro as a TFTP server.

My connection method is that the two routers are connected through the E0 port. First, on the good router (cisocA), configure the E0 port as (the IP address is randomly configured, as long as the two E0 ports can PING each other) and then enter the tftp-server c2500-js-l.122-7a.bin under the configuration mode (this is the IOS file name in your IOS, use show version to view your IOS file name

After this A has been configured, go to B to configure it. First, let this start to BOOT mode. In Global configuration mode, enter config-register 0x2101 and then restart the router, after BOOT to BOOT mode, configure your E port. After BOOT Mode, enter copy tftp flash, and prompt you to enter the TFTP server, and then enter the file name, the procedure is as follows:

CisocA # conf t
CisocA (config) # tftp-server c2500-js-l.122-7a.bin
CisocA (config) # int e0
CisocA (config-if) # ip add
CisocA (config-if) # no shut
CiscoB (config) # conf t
CiscoB (config) # config-register 0x2101
CiscoB (config) # end
CiscoB # reload
System configuration has been modified. Save? [Yes/no]: y
CiscoB (boot)> enable
CiscoB (boot) # conf terminal
CiscoB (boot) (config) # int e0
CiscoB (boot) (config-if) # ip add
CiscoB (boot) (config-if) # no shut
CiscoB (boot) (config-if) # end
CiscoB (boot) # erase flash
System flash directory:
File Length Name/status
1 15533612 c2500-js-l.122-7a.bin
[15533676 bytes used, 1243540 available, 16777216 total]
Erase flash device? [Confirm]
Are you sure? [Yes/no]: y
Address or name of remote host []?
Source file name? C2500-js-l.122-7a.bin
Destination file name [c2500-js-l.122-7a.bin]?
Erase flash device before writing? [Confirm] (Press ENTER)
Copy 'c2500-js-l.122-7a.bin 'from server
As 'c2500-js-l.122-7a.bin 'into Flash WITH erase? [Yes/no] y
After entering Y, the program will automatically copy ios. After successful completion, you will configure the following:
CiscoB (config) # config-register 0x2102
CiscoB (config) # reload

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.