cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
308
Views
1
Helpful
4
Replies

Remove added global netconf port?

Whilst discovering some devices, someone has added a new global netconf port rather than just for the specific discovery job.  This port is shown as an option for netconf for all discovery jobs now.  How can I delete it globally so that just the default 830 appears?

1 Accepted Solution

Accepted Solutions

ahqoujaq
Cisco Employee
Cisco Employee
4 Replies 4

maflesch
Cisco Employee
Cisco Employee

Hi Andrew,

Unfortunately, at this time there is no way to delete the netconf credential from the UI. The best thing to do would be to click the ? icon on the top-right of the GUI and then Make-A-Wish. This will put you in touch with the product managers and you can submit the request for this to be added into the product.

ahqoujaq
Cisco Employee
Cisco Employee

Hi Andrew,

You can delete any credentials using the following API: https://developer.cisco.com/docs/dna-center/delete-global-credential-v2/

Use this API to get the ID of the credential: https://developer.cisco.com/docs/dna-center/get-all-global-credentials-v2/

You cannot delete "any" credential. You are still required to have one CLI and one SNMP credential available in global. 

I used the API to GET all the Global Credentials (/dna/intent/api/v2/global-credential).  I copied the ID of the additional netconfCredential "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx".  Then did a DELETE of the Global Credential (/dna/intent/api/v2/global-credential/${id}) using the copied ID.

 

andrewbutterworth_0-1739803864732.png

 

Review Cisco Networking for a $25 gift card