I am having trouble with using LAN automation to configure a catalyst 9300.
C9300 version is 16.12.2t
DNA version is 184.108.40.206.
The LAN automation status seems to proceed as expected until log "Received Ztp message...". At that point the device should appear in the inventory so i can stop the LAN automation process. Instead, the device appears in the plug-and-play devices.
If the LAN automation is stopped the device is never added to the inventory and becomes unreachable because DNA removes the temporary configuration from the seed device.
If the LAN automation process is not stopped the device eventually goes into "inventory error" state (in LAN auto status).
I found a piece of documentation stating this could be due to a routing issue., but in this case DNA can reach the device while the LAN automation process is ongoing.
The device cannot be claimed from the PnP devices tab after LAN automation is stopped.
Finally, after running the LAN automation several times on the same switch i notice the switch's name is incremented ("switch-1, then switch-2, switch-3...) each time even though the switch is always the same and the LAN automation was never successful on that switch.
Has anyone seen a similar case ? Can I try some things before reaching the TAC ?
Have a nice day,
I had the same issue which was due to a Cat 9k running the network-essentials license instead of the network-advantage license. The error I received was:
A couple of things to try:
Note that it is expected to see the Cat9k under Plug and Play during LAN automation. It will initially appear as unclaimed and then change to planned before it appears as ‘In Progress’ under LAN Automation Status.
delete /force vlan.dat
delete /force nvram:*.cer
delete /force flash:pnp*
delete /force nvram:pnp*
crypto key zeroize
no crypto pki cert pool
no crypto pki certificate pool
no crypto pki trustpoint pnplabel
no pnp profile pnp-zero-touch
Hope this helps
Also please see the LAN Automation Deployment guide for a list of prereqs etc.