02-28-2017 12:59 AM
Hello,
I have many unconfigured Cisco 2911 routers and I need to load initial config to them with TFTP. Startup config is empty.
The problem is that routers aren't making any attempts to request IP address from DHCP or network-confg file from TFTP.
I've checked many times with Wireshark and with "debug ip packet detail" on another Cisco router with DHCP and TFTP configured and there is no traffic, but interfaces are up even on uncofigured side.
After the load it asks for entering setup dialog, but it doesn't ask about termination of Autoinstall.
Is this feature even supported on that routers? If yes, how to enable it? I failed to find any info why it can not to work.
Some outputs from unconfigured router, 5 mins from start:
--- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>en
Router#sh startup-config
startup-config is not present
Router#sh ver | i Version|register
Cisco IOS Software, C2900 Software (C2900-UNIVERSALK9-M), Version 15.5(3)M4, RELEASE SOFTWARE (fc1)
ROM: System Bootstrap, Version 15.0(1r)M16, RELEASE SOFTWARE (fc1)
Configuration register is 0x2142
Router#
02-28-2017 01:56 AM
Hi,
try check this link:
http://www.cisco.com/c/en/us/td/docs/ios/12_2/configfun/command/reference/ffun_r/frf007.html
Focus on section with command "service config"
02-28-2017 02:15 AM
That link tells that "service config" is activated if there is no startup config. Exactly like I have. My question is why it doesn't.
02-28-2017 02:38 AM
I never use this method so I don´t have any practical experiences but you can try use command "service config" with "boot network..." and "boot host..." commands where you can specify location of configuration files.
I read that "service config" command is disabled by default so please type it explicitly.
02-28-2017 02:54 AM
That definitely will work, but it requires console connection for every router and manual configuration, which is inappropriate in my case, too many devices.
Initial problem was that every manual about Autoconfig tells that if there is no startup-config, a router will activate "service config", request address through DHCP and try to find "network-confg" file on TFTP server.
That works perfectly on 2811 routers, but doesn't on 2911.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide