Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
network interface service-policy doesn't work or misconfigured?
2020-05-12
06:17 AM
2,686 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey,
I have a cluster running ontap 9.7P1.
For the sake of testing I created a custom service-policy which allows data-core for all ips (0.0.0.0/0)
and data-cifs with 1.1.1.0/24 in order to block anyone from accessing the svm via cifs (again, just for testing).
I assigned the data lif to this new service-policy and even brought it down and up but I can still access \\ the svm (and I'm not part of this ip segment).
I also tried to change the data-core service to 1.1.1.0/24 just to try and it didn't help also.
anyone has an idea?
thanks in advance 🙂
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Before troubleshooting, first thing I want to ask :
Is the export-policy enabled? (By-default it is disabled for cifs)
According to the KB below:
Since 8.2, export policies have no effect on CIFS, and only CIFS ACLs and share level permissions determine access. If you want ipbased (export policy based) access restrictions for cifs to apply, modify the corresponding advanced level cifs vserver option with cifs option modify on the cluster.
Go to advance level:
::> set adv
Warning: These advanced commands are potentially dangerous; use them only when directed to do so by NetApp personnel.
Do you want to continue? {y|n}: y
Check the current policy first:
::*> vserver cifs options show -vserver <vserver name> -fields is-exportpolicy-enabled
vserver is-exportpolicy-enabled
------- - ----------------------
<vserver name> false
Enable it:
::*> vserver cifs options modify -vserver <vserver name> -is-exportpolicy-enabled true
Once enabled, give it a try.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, I'll try that out
