Solved

Cisco Router booted from TFTP ( must boot from flash)

Posted on 2004-10-14
14
794 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
  • 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

It happens many times that access list (ACL) have to be applied to outgoing router interface in order to limit some traffic.This article is about how to test ACL from the router which is not very intuitive for everyone. Below scenario shows simple s…
In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
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…

770 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