Skip to main content
NetApp Knowledge Base

API calls and CLI "snapmirror show" for snapmirror differ

Views:
52
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

Applies to

ONTAP 9.6

Issue

API call gives less records comparing to CLI  command snapmirror show
 
Example:
 
node_01::> snapmirror show
[...]
82 entries were displayed.

$ curl -k -u 'user:pass' 'https://cluster_ip/api/snapmirror/relationships?fields=*'

[...]
"num_records": 59,

 

CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support

 

  • Was this article helpful?
******************************************************* *******************************************************