?
Solved

Cisco Router booted from TFTP ( must boot from flash)

Posted on 2004-10-14
14
Medium Priority
?
800 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
Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

 
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 300 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

New Server 172.16.200.2  was moved from behind Router R2 f0/1 to behind router R1 int f/01 and has now address 172.16.100.2. But we want users still to be able to connected to it by old IP. How to do it ? We can used destination NAT (DNAT).  In DNAT…
Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
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

777 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