Link to home
Start Free TrialLog in
Avatar of nepk
nepk

asked on

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

Avatar of JFrederick29
JFrederick29
Flag of United States of America image

Use the command:

boot system flash
Avatar of nepk
nepk

ASKER

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
Post results of:

show flash
Avatar of nepk

ASKER

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
ASKER CERTIFIED SOLUTION
Avatar of Les Moore
Les Moore
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nepk

ASKER

okay i will use tomm
Yeah, use the command posted by lrmoore, it will fix your problem.  Looks like I better bookmark and read that article :)
Avatar of nepk

ASKER

okay i will use tomm and will let you know. by the way router load its image and configuration from where? please explain me.
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"
Avatar of nepk

ASKER

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

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

Avatar of nepk

ASKER

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

Avatar of nepk

ASKER

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