2 weeks ago
i strongly suggest you review this configuration against best practices and relevant product user guide. as this current config will allow anyone in any subnet read-write to the mount without any authentication.
https://www.netapp.com/us/media/tr-4067.pdf - Netapp best practices for NFS on Cdot
but. as you requested. this is that: (assuming you created and mounted the volume. and that the SVM configured with NFS enabled)
export-policy create -vserver <SVM name> -policyname policy1
export-policy rule create -rwrule none -rorule none -superuser none -policyname Policy1 -vserver <SVM name> -clientmatch * -anon 1111
volume modify -vserver <SVM name> -volume <Vol name> -policy policy1