How to change custom name for tftp startup config

Answered Question
Sep 4th, 2008

Hi,

Is there any way of setting custom default tftp startup config name? At the moment I'm getting;

%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/cisco1720-confg (Timed out)

%Error opening tftp://255.255.255.255/network-confg (Timed out)

%Error opening tftp://255.255.255.255/cisco172.cfg (Timed out)

so not network-confg,cisconet.cfg,cisco1720-confg,cisco172.cfg but let's say myroutercfg

so when the router boots it looks for startup config at;

tftp://255.255.255.255/myrouercfg

Thanks very much for your help

I have this problem too.
0 votes
Correct Answer by amikat about 8 years 3 months ago

Hi,

Your error messages are displaed due to the "service config" command in your configuration file. Under normal circumstances you do not need this and can safely remove the command (via "no service config") and the "%Error opening ..." messages will not be displayed any more (also the boot process will finish earlier). Provided you do need external configuration files during boot(e.g. for autoinstall) you can just add either "boot host" or "boot network" command like this: boot host tftp://xxx.xxx.xxx.xxx/myroutercfg.

Best regards,

Antonin

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
amikat Thu, 09/04/2008 - 04:37

Hi,

Your error messages are displaed due to the "service config" command in your configuration file. Under normal circumstances you do not need this and can safely remove the command (via "no service config") and the "%Error opening ..." messages will not be displayed any more (also the boot process will finish earlier). Provided you do need external configuration files during boot(e.g. for autoinstall) you can just add either "boot host" or "boot network" command like this: boot host tftp://xxx.xxx.xxx.xxx/myroutercfg.

Best regards,

Antonin

tomasdabasinskas Thu, 09/04/2008 - 05:07

hey,

thanks for reply

I was more thinking towards

Changing configuration register to 0x2142

*Ignores break

*Boots into ROM if initial boot fails

*9600 console baud rate

*Ignores NVRAM

but I still can't figure out how to tell it to look for tftp startup config...

Richard Burts Thu, 09/04/2008 - 07:10

Tomas

I believe that you will be very disappointed if you change the config register to 0x2142 and I suggest that you not do this.

I believe that you can achieve what you want to have the router read its config file from a tftp server if you use this command:

boot host tftp

be aware that this requires network access to the tftp server at the time that the router boots.

Give it a try and let us know how it works for you.

HTH

Rick

Richard Burts Fri, 09/05/2008 - 04:23

Tomas

Thank you for posting back to the thread and indicating that you got it to work and how you got it to work. It makes the forum more useful when people can read a question and can also read a successful solution to the question.

The forum is an excellent place to learn about Cisco networking. I encourage you to continue your participation in the forum.

HTH

Rick

Actions

This Discussion