ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

How to verify login credentials/connectivity to vManage server using curl

book

Article ID: 228018

calendar_today

Updated On:

Products

CA Virtual Network Assurance DX NetOps

Issue/Introduction

How can I  verify log-in credentials/connectivity to the vManage server using curl to ensure I am using the correct credentials in DX Netops Virtual Network Assurance (VNA) to configure the Viptela plugin.

Environment

Release : 21.2

Component :

Resolution

Replace USERNAME/PASSWORD/VMANAGEIP/VMANAGEPORT accordingly:

curl -X POST -v -k -H "Content-Type: application/x-www-form-urlencoded" -d 'j_username=USERNAME&j_password=PASSWORD' https://VMANAGEIP:VMANAGEPORT/dataservice/j_security_check

Example:

curl -X POST -v -k -H "Content-Type: application/x-www-form-urlencoded" -d 'j_username=adminuser&j_password=adminuserpassword' https://10.10.10.1:443/dataservice/j_security_check

Additional Information

SD-WAN authentication:

https://developer.cisco.com/docs/sdwan/#!authentication/how-to-authenticate