This blog was originally started to better help me understand the technologies in the CCIE R&S blueprint; after completing the R&S track I have decided to transition the blog into a technology blog.

CCIE #29033

This blog will continue to include questions, troubleshooting scenarios, and references to existing and new technologies but will grow to include a variety of different platforms and technologies. Currently I have created over 185 questions/answers in regards to the CCIE R&S track!! Note: answers are in the comment field or within "Read More" section.

You can also follow me on twitter @FE80CC1E


Tuesday, April 27, 2010

Question 55

What does "no service config" do?

4 comments:

Unknown said...

By default, any device running the Cisco IOS will attempt to load service configuration files from TFTP servers during the boot process.

You'll see messages similar to the following:

%Error opening tftp://255.255.255.255/network-confg (Socket error)

To prevent this from occurring you can use the global configuration command "no service config".

Router(config)#no service config

My "beef" with this process is the extra time it can take for a device to boot up. I've experienced waits of up to 30 seconds while the device queries different TFTP servers and different configuration files...

Packets Analyzed said...

Just think of the security implications caused by such a thing.

Unknown said...

Good point about the security. Is there a "best practice" for this feature? Cisco obviously enables it by default but if you don't use TFTP booting should you disable it or just leave it enabled? Would you consider adding "service config" or "no service config" to a standard config template?

Also, if you were to use this feature can you specify a TFTP server instead of the broadcast?

Packets Analyzed said...

I am not sure if there is a best practice around service config. I do believe best practice is to disable all services that you are not running. This further mitigates your risk of being compromised when running unneeded services.

If service config is enabled and none of the boot options are present it will default to 255.255.255.255. If boot option is configured then the router will follow the configuration and point to the host specified.

"boot network tftp://1.1.1.1/r1.cfg"
"boot host tftp:/11.1.1.1/r1.cfg"

Post a Comment