Skip to Content

Service Config - Error opening tftp://255.255.255.255

Command Line

If you have worked on a newer Cisco IOS device, you may have seen the following error messages:

%Error opening tftp://255.255.255.255/network-confg (Socket error)
%Error opening tftp://255.255.255.255/cisconet.cfg (Socket error)
%Error opening tftp://255.255.255.255/router-confg (Socket error)
%Error opening tftp://255.255.255.255/ciscortr.cfg (Socket error)

If you are wondering what these messages mean, it is the result of the config service being enabled by default in some IOS versions. Read on to learn about how it works and how to disable it.

Service Config

The service config command does exactly what the log messages above imply, it causes the IOS device to try to load its config from a network server. This can be useful in certain circumstances, however in most cases it is an unnecessary feature and can safely be disabled.

To disable this feature, use the no service config command in global configuration mode:

Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#no service config 
Router(config)#end
Router#wr
Building configuration...

*Feb 20 04:32:54.619: %SYS-5-CONFIG_I: Configured from console by console[OK]
Router#

It's that simple.

So, unless you are planning on using this feature and have a tftp server connected to your IOS device with configuration files at the ready, you may want to consider making "no service config" a part of your standard configuration across the network.

Reference: http://www.cisco.com/en/US/docs/ios/12_2/configfun/command/reference/frf...

Your rating: None Average: 5 (5 votes)

Comments

No Service Config

O Man this would drive me crazy all the time when deploying switches!! I actually have a switch config template that I use for all new deployments and your right that command is like 3rd down in the text document. What would be the reason to use to use this exacly? It cant be for auto deploy because we know that by default VLAN is shutdown and the switch does not have any IP capability on it with that VLAN being down.

Are you kidding me!

I literally just got this error on one of my gateways 2 hours ago... You are psychic!

Adam's picture

I would attribute it to

I would attribute it to uncanny timing. Had I been psychic, I would have won the lottery many years ago ;)

Just Saw This Today

Just saw this originating from a 3560g. no service config worked a treat to fix it however.

Adam's picture

Glad to hear it worked!

Glad to hear it worked!

service config

Ran into this issue about a year ago. I had a TFTP server setup and noticed frequent attempts to download an IOS config that wasnt there. The attempts were relentless. Traces the source IP back to switch and issued the no config service command...after a quick google search of course! Hadn't seen this problem since.

I have seen this during an

I have seen this during an auto installation using Cisco Smart Install. tftp://255.255.255.255/dummy. Does this help in this scenario, too? Maybe someone knows, will test this when I am back at work, vacation time :D

Copy flash: tftp: Error

HI I have one problem which is similar to this one.

I was getting below error when i was trying to copy file from Flash to TFTP.

I was using windows 7 Laptop and cisco 2960 switch

%Error opening tftp://192.168.1.2/C2960-universalk9-mz.122-55.SE5.bin ( Timed Out )

Any help would be highly appreciated.

Thanks,
Kinnu

Copy flash: tftp: Error

Check to see that your firewall is disabled on your workstation, and check that you can ping 192.168.1.2 from the switch.



Dr. Radut | blog