08-24-2022 12:28 PM
Hi I'm working on basic DNAC PNP configuration. The switch boots and is configured correctly by DNA however the device is not added to the inventory and this error is given: "NCOB02064: Device not added to Inventory - No CLI credentials provided".
I can however ssh to the device using the credentials I configured under Design>Network Settings>Device Credentials>CLI
The credentials configure are to the local device and are not using any external authentication.
The switch configuration for auth looks like this:
aaa new-model
aaa authentication login default local
- DNAC writes my credentials to the device correctly, see next line.
username <USERNAME> privilege 15 secret 9 <encryptedpasswordhere>
line vty 0 4
privilege level 15
transport preferred none
transport input ssh
The above works fine to access the switch via SSH but DNA does not added it to the inventory. I was originally working with a larger configuration with a few basic variable, but paired the config down to the basics to figure out why it was not adding to the inventory.
Any assistant would be appreciated.
DNAC Version 2.3.3.4-72142
Solved! Go to Solution.
10-03-2022 05:55 AM
Ok, renaming the old credentials and re-creating them solved the issue.
10-03-2022 06:17 AM
I updated my Creds at the Global level as recommended and it solved the problem. Note I also created creds for HTTP/HTTPS and SNMPv3 under Global
08-24-2022 01:21 PM
Is this a 3 node cluster? Was it initially running 1.x DNA software? There is a known bug that could match your scenario, CSCwb57629. The workaround is to delete and renter your global cli credentials in DNA before trying PnP again.
08-26-2022 05:50 AM
Preston,
Thanks for the assistance. This is an appliance not in a cluster and has not been upgrade from the 1.x version train as far as I can find.
09-02-2022 01:58 PM
@lcollins I just learned that it requiers re-entering all credentials, not just CLI. Can you let us know that works for your case as well?
09-07-2022 11:05 AM
Preston,
I opened a TAC case for this issue, will let you know the outcome. Support has asked us to remove and reapply all creds at the global level. However we are concerned how this might effect the other client already managed by DNAC just not acquired by the PNP process.
09-12-2022 05:54 AM
I am having the same issue with my DNAC as well when onboarding with PNP -
NCOB02064: Device not added to Inventory - No CLI credentials provided
Even though after this process I run a discovery and the device is managed fine through DNAC
10-03-2022 05:55 AM
10-03-2022 06:17 AM
I updated my Creds at the Global level as recommended and it solved the problem. Note I also created creds for HTTP/HTTPS and SNMPv3 under Global
11-07-2022 02:30 AM
Having the same problem with signle node in version 2.3.3.5-70134
01-09-2023 03:15 AM
Me too
01-09-2023 03:45 AM
You need to create a new CLI user under "Device Credentials" at the Global level and also for HTTP/HTTPS and SNMPv3, and then Apply these credentials.
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