Hello my friend,
The AIQUM 9.6 release notes can give you some tips:
https://library.netapp.com/ecm/ecm_download_file/ECMLP2853090
Also, the same document for 9.8, give you other tips:
https://library.netapp.com/ecm/ecm_download_file/ECMLP2871257
So, I would suggest:
9.5p1 > 9.6P1 > 9.8P1
Please read the docs carefully for some important cautions and caveats (some related to the product name change starting on 9.6).
Kind regards,
Pedro