Cisco Router booted from TFTP ( must boot from flash)

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

LVL 1
nepkAsked:
Who is Participating?
 
JFrederick29Commented:
Use the command:

boot system flash
0
 
nepkAuthor Commented:
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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
JFrederick29Commented:
Post results of:

show flash
0
 
nepkAuthor Commented:
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
 
nepkAuthor Commented:
okay i will use tomm
0
 
JFrederick29Commented:
Yeah, use the command posted by lrmoore, it will fix your problem.  Looks like I better bookmark and read that article :)
0
 
nepkAuthor Commented:
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
 
lrmooreCommented:
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
 
nepkAuthor Commented:
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
 
lrmooreCommented:
>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
 
nepkAuthor Commented:
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
 
lrmooreCommented:
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
 
nepkAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.