Software Development Kit (SDK) and API Discussions

Reliable way to identify NetApp C-mode filer



Our application supports multiple file server targets like Windows server, NetApp and Celerra. We need to identify the file server type while adding a target. Currently we use system-get-version API to identify NetApp C-mode filer. We chose this approach based on the ONTAP API documentation. We set username and password to be blank. In case file server is a NetApp C-mode filer we get EAPIAUTHENTICATION/Error 13002: Authentication failed. In case of Windows server, NetApp 7-mode and Celerra we get EAPITRANSMISSION/Error 13011: URL not found error.


But it has been recently observed that API call returns error 13002 even in case of Window servers. So we wrongly detect Windows Server as a NetApp C-mode filer. Some Windows feature or third party component comes into picture for this behavior and we get error 13002 as result. Has anybody seen this behavior?


We would like to correct this behavior. What is a more reliable way to identify a NetApp C-mode filer?



that will allow you a full identification from the other vendors as well, and with the default configuration not require you to set another users for that.

Gidi Marcus (Linkedin) - Storage and Microsoft technologies consultant - Hydro IT LTD - UK


GidonMarcus, Thanks for your reply. But I could not understand what you are trying to say. Can you please elaborate?


We have to keep username and password as blank as not all of our  customers use NetApp as a target. They might only use Windows Server or Celerra.






The filers has a default "PUBLIC" (anonymous like) community string that allows you to query the filer. including information about the ontap version.

some examples are available at:   (7 dot article, but c dot will work as well)


other vendors has similar mechanism. so you could also identify them in a similar way.


Good luck


Gidi Marcus (Linkedin) - Storage and Microsoft technologies consultant - Hydro IT LTD - UK


Thanks for the information. I will look into the possibility to use SNMP.


I am not able to open the link you provided. Does it require any login to access it?

NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner