无法使用允许的地址选项创建服务策略以限制数据访问
适用场景
ONTAP 9.10.1及更高版本
问题描述
- 在尝试配置
allowed-addresses
以将数据访问限制为只能通过子网进行数据访问时、会出现以下错误:
::> 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.