Hi @Nick_Talbot,
You probably found that post.
It is basically all in there:
1. Connect to a controller:
Connect-NcController
2. Create your policy and rule:
New-NcExportPolicy -VserverContext SVM_NAME -Name POLICY_NAME
New-NcExportRule -VserverContext SVM_NAME -Policy POLICY_NAME -ClientMatch HOSTS
3. Apply the policy to the Volume:
update-ncvol -query @{name="VOL_NAME"} -Attributes @{volumeexportattributes=@{policy="POLICY_NAME"}}
You will need to change the follwing information:
- SVM_NAME
- POLICY_NAME (3 times)
- HOSTS (the client match is either a client or a range of IPs, or a subnet)
- VOL_NAME
I hope that helps.
Cheers,
Ron.