Solved

Cisco Router booted from TFTP ( must boot from flash)

Posted on 2004-10-14
14
798 Views
Last Modified: 2008-02-01
Dear professionals,

Iam using Cisco 2503 router with 12.1 IOS.

yesterday i have used that command to boot the ios from tftfp server.

command::::        boot system tftp ios_name ip_address from global configuration mode.

Now I wanted to boot IOS from the flash and i have used the following cammand but couldn't succeeded.

command :  no boot system tftp ios_name ip_address from global mode

 and saved the configuration by using wr mem.

but when i reloaded the router it tried to boot from the tftp again, and I got the error because i have unistalled the tftp server. How to getrid off this error?.

%Error opening tftp://255.255.255.255/network-confg (Timed out)
%Error opening tftp://255.255.255.255/cisconet.cfg (Timed out)
%Error opening tftp://255.255.255.255/router-confg (Timed out)
%Error opening tftp://255.255.255.255/ciscortr.cfg (Timed out)

any thoughts how to getrid off to boot from tftp?

regards
Maqbool

0
Comment
Question by:nepk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 4
  • 3
14 Comments
 
LVL 43

Expert Comment

by:JFrederick29
ID: 12318119
Use the command:

boot system flash
0
 
LVL 1

Author Comment

by:nepk
ID: 12318283
I used this command many times may be it boots from the flash and then I saved it and then I reload the router but it reload  very slow and i think it still getting an given below error.

%Error opening tftp://255.255.255.255/network-confg (Timed out)
%Error opening tftp://255.255.255.255/cisconet.cfg (Timed out)
%Error opening tftp://255.255.255.255/router-confg (Timed out)
%Error opening tftp://255.255.255.255/ciscortr.cfg (Timed out)

I think it still first looking for the tftp? then I reagain used a command and saved it

""no boot system tftp ios_name ip_address from global mode""

but still i am getting the same error. how to getrid off the errors.

regards
0
 
LVL 43

Expert Comment

by:JFrederick29
ID: 12318306
Post results of:

show flash
0
Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

 
LVL 1

Author Comment

by:nepk
ID: 12318358
ok i will post the result of show flash tom, because now i am at hone, i just got at home.

but i remember the image file startlike

/imageiosfile

but i remember before boot from tftp configuration it wasn't forward sign '/'

is there any way to change/configure the flash file.


regards
0
 
LVL 79

Accepted Solution

by:
lrmoore earned 75 total points
ID: 12318543
0
 
LVL 1

Author Comment

by:nepk
ID: 12318665
okay i will use tomm
0
 
LVL 43

Expert Comment

by:JFrederick29
ID: 12318691
Yeah, use the command posted by lrmoore, it will fix your problem.  Looks like I better bookmark and read that article :)
0
 
LVL 1

Author Comment

by:nepk
ID: 12318740
okay i will use tomm and will let you know. by the way router load its image and configuration from where? please explain me.
0
 
LVL 79

Expert Comment

by:lrmoore
ID: 12318786
If you do not specify host or network configuration filenames, the router uses the default configuration files, trying each one in sequence (with TFTP broadcast). The default network configuration file is network-confg. The default host configuration file is host-confg, where host is the host name of the router. If the Cisco IOS software cannot resolve its host name, the default host configuration file is router-confg.
That is the exact behavior that you are seeing on your router.
You can get rid of those messages by simply adding the command :  "no service config"
0
 
LVL 1

Author Comment

by:nepk
ID: 12325035
okay , i have tried and all errors just gone thank you very much. can u please just expalin me where
network-confg and host-confg by default reside.

one more thing i just got confused last time i have deleted the start-cong (nvram) then when i reloaded the router the set up starts and then it builts the configuration. I thought every configuration will gone and only the new configuration  will be in the configuration file. but i saw so some previous configuration as well.

can u please guide how to built new file and remove the old one.


regards

0
 
LVL 79

Expert Comment

by:lrmoore
ID: 12325595
>network-confg and host-confg by default reside.
Nowhere, unless you make them and put them on a TFTP server. The router just looks for them as part of the "autoconfig" functions

>can u please guide how to built new file and remove the old one.
router#write erase

This clears all configs and sets the router back to default. Reboot, and you will be able to start all over from a blank slate..

0
 
LVL 1

Author Comment

by:nepk
ID: 12326962
network-confg and host-confg by default reside. ????

I didn't understand it . but where in default. i meant ROM or RAM whatever, whats the default location?

I have accepted your reply.

regards
maqbool
0
 
LVL 79

Expert Comment

by:lrmoore
ID: 12326981
They do not exist anywhere, unless you create them and put them on a tftp server.

The auto-config feature looks for these files on boot, with a tftp broadcast.

0
 
LVL 1

Author Comment

by:nepk
ID: 12327015
thanks i got your reply.  I am really impressed with your knowledge. what you have done in CISCO cerification?

by the way whats auto-config feature does and where auto-config reside, sorry to bother you

regards
0

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While it is possible to put two routes in place with the secondary having a higher metric, this may not always work. In the event of a failure that does not bring down the physical interface on the router the primary route is not removed. There is a…
There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Suggested Courses

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question