Unable to create a service policy to limit data access using the allowed-addresses option
Applies to
ONTAP 9.10.1+
Issue
- The following error is given when trying to configure
allowed-addresses
to restrict data access to a subnet for data access:
::> set advanced
::*> network interface service-policy create -vserver svm1_cluster1 -policy custom-policy -service data-nfs -allowed-addresses 192.168.x.x/24
Error: command failed: Service "data-nfs" cannot be added to service policy "custom-policy" on Vserver "svm1_cluster1" with allowed addresses "192.168.x.x/24" because this service does not support custom allowed address lists.
Try the command again without specifying an allowed address list and the system will supply an appropriate setting.