<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: network interface service-policy doesn't work or misconfigured? in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/network-interface-service-policy-doesn-t-work-or-misconfigured/m-p/156166#M35237</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Before troubleshooting,&amp;nbsp; first thing I want to ask :&lt;/P&gt;
&lt;P&gt;Is the export-policy enabled? (By-default it is disabled for cifs)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to the KB below:&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;Since 8.2, export policies have no effect&amp;nbsp; on CIFS, &lt;/EM&gt;&lt;/STRONG&gt;and only CIFS ACLs and share level permissions determine access. If you want &lt;STRONG&gt;ipbased&lt;/STRONG&gt; (export policy based) access restrictions for cifs to apply, modify the corresponding advanced level cifs vserver option with cifs option modify on the cluster.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/How_do_export-policies_work_in_clustered_Data_ONTAP%3F" target="_blank" rel="noopener"&gt;https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/How_do_export-policies_work_in_clustered_Data_ONTAP%3F&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Go to advance level:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;::&amp;gt; set adv&lt;BR /&gt;Warning: These advanced commands are potentially dangerous; use them only when directed to do so by NetApp personnel.&lt;BR /&gt;Do you want to continue? {y|n}: y&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Check the current policy first:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;::*&amp;gt; vserver cifs options show -vserver &amp;lt;vserver name&amp;gt; -fields is-exportpolicy-enabled&lt;BR /&gt;vserver is-exportpolicy-enabled&lt;BR /&gt;------- - ----------------------&lt;BR /&gt;&amp;lt;vserver name&amp;gt; false&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Enable it:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;::*&amp;gt; vserver cifs options modify -vserver &amp;lt;vserver name&amp;gt; -is-exportpolicy-enabled true&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once enabled, give it a try.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 12 May 2020 14:43:16 GMT</pubDate>
    <dc:creator>Ontapforrum</dc:creator>
    <dc:date>2020-05-12T14:43:16Z</dc:date>
    <item>
      <title>network interface service-policy doesn't work or misconfigured?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/network-interface-service-policy-doesn-t-work-or-misconfigured/m-p/156164#M35236</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;
&lt;P&gt;I have a cluster running ontap 9.7P1.&lt;/P&gt;
&lt;P&gt;For the sake of testing I created a custom service-policy which allows data-core for all ips (0.0.0.0/0)&lt;/P&gt;
&lt;P&gt;and data-cifs with 1.1.1.0/24 in order to block anyone from accessing the svm via cifs (again, just for testing).&lt;/P&gt;
&lt;P&gt;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).&lt;/P&gt;
&lt;P&gt;I also tried to change the data-core service to 1.1.1.0/24 just to try and it didn't help also.&lt;/P&gt;
&lt;P&gt;anyone has an idea?&lt;/P&gt;
&lt;P&gt;thanks in advance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 11:10:23 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/network-interface-service-policy-doesn-t-work-or-misconfigured/m-p/156164#M35236</guid>
      <dc:creator>SuperTeam</dc:creator>
      <dc:date>2025-06-04T11:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: network interface service-policy doesn't work or misconfigured?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/network-interface-service-policy-doesn-t-work-or-misconfigured/m-p/156166#M35237</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Before troubleshooting,&amp;nbsp; first thing I want to ask :&lt;/P&gt;
&lt;P&gt;Is the export-policy enabled? (By-default it is disabled for cifs)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to the KB below:&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;Since 8.2, export policies have no effect&amp;nbsp; on CIFS, &lt;/EM&gt;&lt;/STRONG&gt;and only CIFS ACLs and share level permissions determine access. If you want &lt;STRONG&gt;ipbased&lt;/STRONG&gt; (export policy based) access restrictions for cifs to apply, modify the corresponding advanced level cifs vserver option with cifs option modify on the cluster.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/How_do_export-policies_work_in_clustered_Data_ONTAP%3F" target="_blank" rel="noopener"&gt;https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/How_do_export-policies_work_in_clustered_Data_ONTAP%3F&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Go to advance level:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;::&amp;gt; set adv&lt;BR /&gt;Warning: These advanced commands are potentially dangerous; use them only when directed to do so by NetApp personnel.&lt;BR /&gt;Do you want to continue? {y|n}: y&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Check the current policy first:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;::*&amp;gt; vserver cifs options show -vserver &amp;lt;vserver name&amp;gt; -fields is-exportpolicy-enabled&lt;BR /&gt;vserver is-exportpolicy-enabled&lt;BR /&gt;------- - ----------------------&lt;BR /&gt;&amp;lt;vserver name&amp;gt; false&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Enable it:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;::*&amp;gt; vserver cifs options modify -vserver &amp;lt;vserver name&amp;gt; -is-exportpolicy-enabled true&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once enabled, give it a try.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 14:43:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/network-interface-service-policy-doesn-t-work-or-misconfigured/m-p/156166#M35237</guid>
      <dc:creator>Ontapforrum</dc:creator>
      <dc:date>2020-05-12T14:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: network interface service-policy doesn't work or misconfigured?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/network-interface-service-policy-doesn-t-work-or-misconfigured/m-p/156170#M35238</link>
      <description>&lt;P&gt;Thanks, I'll try that out&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 14:55:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/network-interface-service-policy-doesn-t-work-or-misconfigured/m-p/156170#M35238</guid>
      <dc:creator>SuperTeam</dc:creator>
      <dc:date>2020-05-12T14:55:38Z</dc:date>
    </item>
  </channel>
</rss>

