Netconf Connection failure (2026)

33525

Views

20

Helpful

9

Replies

Netconf Connection failure

Go to solution

Netconf Connection failure (1)

Netconf Connection failure (2)JohnJudiNetconf Connection failure (3)

Level 1

Options

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

‎03-27-202209:42 PM - edited ‎03-27-202209:44 PM

Hi Friends,

In my inventory list in DNAC, I have three switches with error Netconf connection failure in manageability column. I checked and did all the things that DNAC suggested. But I still have this error. In addition , I have below log in CLI:

66495: 066422: Mar 27 08:20:37.484: Switch 1 R0/0: ncsshd_bp: NETCONF/SSH: fatal: mm_answer_sign: Xkey_sign failed: error in libcrypto

DNA Software version is 2.2.3.4 and switch IOS-XE version is 17.3.3

Isearched and found a bug related to this error.

Netconf Connection failure (4)

the screenshots of error.

Netconf Connection failure (5)

Netconf Connection failure (6)

Do you have any idea to solve this problem?

thank you in advance for reply

Solved!Go to Solution.

7 people had this problem

I have this problem too

Labels:

  • Labels:
  • Cisco DNA Automation
  • Other Cisco DNA
  • inventory
  • netconf

0Helpful

  • All forum topics
  • Previous Topic
  • Next Topic

1 Accepted Solution


Accepted Solutions

Go to solution

Netconf Connection failure (7)

Netconf Connection failure (8)Dan RoweNetconf Connection failure (9)

Cisco Employee

Options

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

‎03-28-202206:59 AM

For the quickest resolution, I recommend opening up a TAC case to have them assist with performing the necessary debugs and troubleshooting to provide a root cause. This is a fairly common error that TAC is used to troubleshooting. This error is typically seen when the key to the trustpoint tied to the http/netconf process is incorrect or missing.

When troubleshooting netconf issues, I like to take a tcpdump on the DNAC CLI along with capturing the following logs from the switch:

debug netconf-yang level debug
debug netconf all
show logging profile netconf internal level debug to-file flash:netconf.txt

I recommend collecting the debugs above & tcpdump from DNAC CLI in order to attach them to the TAC case you open.

View solution in original post

6Helpful

9 Replies 9

Go to solution

Netconf Connection failure (10)

Netconf Connection failure (11)Dan RoweNetconf Connection failure (12)

Cisco Employee

Options

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

‎03-28-202206:59 AM

For the quickest resolution, I recommend opening up a TAC case to have them assist with performing the necessary debugs and troubleshooting to provide a root cause. This is a fairly common error that TAC is used to troubleshooting. This error is typically seen when the key to the trustpoint tied to the http/netconf process is incorrect or missing.

When troubleshooting netconf issues, I like to take a tcpdump on the DNAC CLI along with capturing the following logs from the switch:

debug netconf-yang level debug
debug netconf all
show logging profile netconf internal level debug to-file flash:netconf.txt

I recommend collecting the debugs above & tcpdump from DNAC CLI in order to attach them to the TAC case you open.

6Helpful

Go to solution

Netconf Connection failure (13)

Netconf Connection failure (14)yera1991Netconf Connection failure (15)

Level 1

In response to Dan Rowe

Options

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

‎09-20-202306:17 PM

Hola muchas gracias a mi si me funciono, PERO HAY QUE RECALCAR QUE SI SE DEBEN TOMAR EN CUENTA ESOS 5 MINUTOS PARA VOLVER A RESINCRONIZAR...

0Helpful

Go to solution

Netconf Connection failure (16)

Netconf Connection failure (17)cthNetconf Connection failure (18)

Level 1

Options

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

‎09-23-202203:54 AM

Hallo, i had this issue, too.

my solution was:

Inventory --> Actions --> Telemetry --> Update Telemetry Settings --> Check Box "Force Configuration Push" --> Next

wait five minutes and resync the Switch.

6Helpful

Go to solution

Netconf Connection failure (19)

Netconf Connection failure (20)jwannaman1Netconf Connection failure (21)

Level 1

Options

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

‎01-02-202304:02 AM

Solution:Update Telemetry Settings then Check Box "Force Configuration Push" then resync.

0Helpful

Go to solution

Netconf Connection failure (22)

Netconf Connection failure (23)andy-uosNetconf Connection failure (24)

Level 1

Options

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

‎03-27-202303:00 AM

I have exactly the same problem as the OP and the"Force Configuration Push" solution did NOT work for me. I still see:
%DMI-2-NETCONF_SSH_CRITICAL: Switch 1 R0/0: ncsshd_bp: NETCONF/SSH: [pid(30457)] fatal: mm_answer_sign: Xkey_sign failed: error in libcrypto

I guess it's another TAC case then

0Helpful

Go to solution

Netconf Connection failure (25)

Netconf Connection failure (26)Christian-DNAC-ISENetconf Connection failure (27)

Level 1

Options

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

‎09-11-202304:11 AM

if u use ise dont forget, without default ssh to port 830 is not working u get wrong password error try ssh to ip:830 and test it

aaa authentication login default group ISE local

aaa authorization exec default group ISE local

0Helpful

Go to solution

Netconf Connection failure (28)

Netconf Connection failure (29)noziwateleNetconf Connection failure (30)

Level 1

Options

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

‎10-31-202308:35 PM

I had this same issue on 3 switches today. AAA was correct for netconf and the "Force Configuration Push" from DNAC did not fix the issue (I didn't try opening a TAC case...). In my case the fix was as follows:

For one switch this was enough to fix it:

  1. Disable netconf
  2. Regenerate the SSH key
  3. Re-enable netconf

Like this:

conf t
no netconf-yang
crypto key generate rsa modulus 2048
netconf-yang

For the other 2 switches, when I re-enabled netconf it threw another error, like this:

 yang-infra: ERROR: Primary trustpoint is not usable for NETCONF: sdn-network-infra-iwan

So I removed the sdn-network-infra-iwan trustpoint, which was put there by DNAC (DNAC can re-add it once netconf access is sorted):

no crypto pki trustpoint sdn-network-infra-iwan

Then did the above steps to disable/regenerate SSH key/re-enable netconf. These might not be the optimal steps but I only had these few switches to test on.

8Helpful

Go to solution

Netconf Connection failure (31)

Netconf Connection failure (32)andy-uosNetconf Connection failure (33)

Level 1

In response to noziwatele

Options

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

‎12-12-202304:36 AM

Thanksnoziwatele, these steps worked for me.

0Helpful

Go to solution

Netconf Connection failure (34)

Netconf Connection failure (35)Ramon2229Netconf Connection failure (36)

Level 1

In response to noziwatele

Options

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

‎06-18-202408:36 AM

This worked for me on the c9800 WLC. Thank you!

0Helpful

Netconf Connection failure (37)

Learn, share, save

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

Log in to Community

Quick Links

Knowledge Articles Guided Resources Additional Support Resources Cisco DNA Demo Series Cisco DNA Ask the Expert

Customers Also Viewed These Support Documents

Netconf Connection failure (2026)
Top Articles
Latest Posts
Recommended Articles
Article information

Author: Errol Quitzon

Last Updated:

Views: 5837

Rating: 4.9 / 5 (79 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Errol Quitzon

Birthday: 1993-04-02

Address: 70604 Haley Lane, Port Weldonside, TN 99233-0942

Phone: +9665282866296

Job: Product Retail Agent

Hobby: Computer programming, Horseback riding, Hooping, Dance, Ice skating, Backpacking, Rafting

Introduction: My name is Errol Quitzon, I am a fair, cute, fancy, clean, attractive, sparkling, kind person who loves writing and wants to share my knowledge and understanding with you.