First of all: autoinstall works only on the first serial interface of the router, don’t forget it.
This is the topology for the small lab:
R1 is a TFTP server, it stores R3 configuration in flash.
R3 has no configuration.
R2 interface is configured as follow:
`` interface Serial1/0 ip address 10.0.23.2 255.255.255.0 ip helper-address 184.108.40.206 encapsulation frame-relay ip ospf network broadcast ip ospf 1 area 0 serial restart-delay 0 frame-relay map ip 10.0.23.3 203 broadcast end
When R3 starts, the autoinstall process looks for a configuration:
Would you like to enter the initial configuration dialog? [yes/no]: no Would you like to terminate autoinstall? [yes]: no Please Wait. Autoinstall being attempted over Serial1/0 !!!!!!!!!!!
We can see what happens debugging TFTP on R1:
R1# *Mar 1 00:50:52.399: TFTP: Looking for cisconet.cfg R1# *Mar 1 00:51:13.423: TFTP: Looking for router-confg R1# *Mar 1 00:51:14.443: TFTP: Looking for ciscortr.cfg R1# *Mar 1 00:51:16.463: TFTP: Looking for network-confg *Mar 1 00:51:16.467: TFTP: Opened flash:R3-confg, fd 0, size 2075 for process 194 *Mar 1 00:51:16.535: TFTP: Finished flash:R3-confg, time 00:00:00 for process 194 *Mar 1 00:51:16.539: TFTP: Looking for network-confg *Mar 1 00:51:16.543: TFTP: Opened flash:R3-confg, fd 0, size 2075 for process 194 *Mar 1 00:51:16.587: TFTP: Finished flash:R3-confg, time 00:00:00 for process 194 R1# *Mar 1 00:51:36.475: TFTP: Looking for r3-confg R1# *Mar 1 00:51:38.523: TFTP: Looking for r3-confg
Notice that after loading “network-confg” the router looks for a more specific file “r3-confg”. If the second file is found, the two configurations are merged.
So the order is:
I’m using C3725-ADVENTERPRISEK9-M, other IOS could use different names or order, I don’t know.
On R3 we can see that it’s configured via autoinstall from R1:
comments powered by Disqus
*Mar 1 00:02:44.827: %SYS-5-CONFIG_I: Configured from tftp://220.127.116.11/network-confg by console