2

For Cisco routers/switches, I use the no service conifg in production.

What's the impact for the production system if I use the service config command when I have the configuration already loaded in my devices?

%Error opening tftp://255.255.255.255/cisconet.cfg (Timed out)
%Error opening tftp://255.255.255.255/cbrvbc01-tgobc02-confg (Timed out)
%Error opening tftp://255.255.255.255/cbrvbc01.cfg (Timed out)
%Error opening tftp://255.255.255.255/network-confg (Timed out)
%Error opening tftp://255.255.255.255/cisconet.cfg (Timed out)

Security? Network traffic? Others?

1 Answer 1

2

The service config command is used to load configuration files on boot. It should have no impact to your current configuration unless you reboot.

It's worth noting that even Cisco considers configuration autoloading an unneeded vulnerability. It's default is off, and probably for good reason.

10
  • Thanks for your quickly reply. But if I reboot the device, what's the impact it actually is? Mar 5, 2014 at 22:16
  • @user2647545 Cisco Support indicates that these are standard config files. Can I ask what your reasoning behind using them is?
    – Ryan Foley
    Mar 5, 2014 at 22:39
  • We configure the router with no service config command, but for some unknown reason, it shows service config after about 10 min. When we save the running config to the startup config file, it will show out in our production system. Just want to know what's the real problem this will cause in the production system. Mar 5, 2014 at 23:11
  • @user2647545 The boot host command has this guidance: "Use the service config command to enable the loading of the specified configuration file at reboot time. Without this command, the router ignores the boot network command and uses the configuration information in NVRAM. If the configuration information in NVRAM is invalid or missing, the service config command is enabled automatically." What is your configuration register set to? (show version | include register)
    – Ryan Foley
    Mar 5, 2014 at 23:26
  • AA2#show version | i register Configuration register is 0x2102 Mar 5, 2014 at 23:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.