<?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: How to set LIF DataProtocol with set-ncnetinterface? in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-set-LIF-DataProtocol-with-set-ncnetinterface/m-p/113404#M4602</link>
    <description>&lt;P&gt;The data-protocol parameter is a requirement at creation time and cannot be modified later through any method PowerShell included.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From: &amp;nbsp;&lt;A href="https://library.netapp.com/ecmdocs/ECMP1636021/html/GUID-CEE760DF-A059-4018-BE6C-6B3A034CB377.html" target="_self"&gt;https://library.netapp.com/ecmdocs/ECMP1636021/html/GUID-CEE760DF-A059-4018-BE6C-6B3A034CB377.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;The &lt;/SPAN&gt;&lt;SPAN class="keyword option"&gt;data-protocol&lt;/SPAN&gt;&lt;SPAN&gt; parameter must be specified when the LIF is created, and cannot be modified later."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Dec 2015 15:26:16 GMT</pubDate>
    <dc:creator>mcgue</dc:creator>
    <dc:date>2015-12-07T15:26:16Z</dc:date>
    <item>
      <title>How to set LIF DataProtocol with set-ncnetinterface?</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-set-LIF-DataProtocol-with-set-ncnetinterface/m-p/113392#M4600</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DataProtocol is an (get;set) Option of get-ncnetinterface&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS C:\Users\oroemisc\My Documents&amp;gt; Get-NcNetInterface -Name cifs_admin_lif1 -Vserver cifs | gm&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;TypeName: DataONTAP.C.Types.Net.NetInterfaceInfo&lt;/P&gt;&lt;P&gt;Name MemberType Definition&lt;BR /&gt;---- ---------- ----------&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;DataProtocols Property string[] DataProtocols {get;set;}&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to add CIFS to it, currently it is "none" because it was a management only LIF before.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So i used&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;( Set-NcNetInterface -Vserver cifs -Name cifs_admin_lif1 ).DataProtocols = "cifs"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but this doesn't change the value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think it is more a "PowerShell lack of knowledge" from me than an CMDLet misbehaviour...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Oli&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 22:35:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-set-LIF-DataProtocol-with-set-ncnetinterface/m-p/113392#M4600</guid>
      <dc:creator>oroemisc</dc:creator>
      <dc:date>2025-06-04T22:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to set LIF DataProtocol with set-ncnetinterface?</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-set-LIF-DataProtocol-with-set-ncnetinterface/m-p/113395#M4601</link>
      <description>&lt;P&gt;The Set-NcNetInterface does not allow you to modify the data-protocol for a LIF, as far as I can see. Try using The Update-NcNetInterface command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$query = Get-NcNetInterface -Template
$attrs = Get-NcNetInterface -Template
$query.Vserver = "cifs"&lt;BR /&gt;$query.InterfaceName = "cifs_admin_lif_1"
$attrs.DataProtocols = ("cifs")
Update-NcNetInterface -Query $query -Attributes $attrs&lt;/PRE&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Aparajita&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2015 13:51:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-set-LIF-DataProtocol-with-set-ncnetinterface/m-p/113395#M4601</guid>
      <dc:creator>Aparajita</dc:creator>
      <dc:date>2015-12-07T13:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to set LIF DataProtocol with set-ncnetinterface?</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-set-LIF-DataProtocol-with-set-ncnetinterface/m-p/113404#M4602</link>
      <description>&lt;P&gt;The data-protocol parameter is a requirement at creation time and cannot be modified later through any method PowerShell included.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From: &amp;nbsp;&lt;A href="https://library.netapp.com/ecmdocs/ECMP1636021/html/GUID-CEE760DF-A059-4018-BE6C-6B3A034CB377.html" target="_self"&gt;https://library.netapp.com/ecmdocs/ECMP1636021/html/GUID-CEE760DF-A059-4018-BE6C-6B3A034CB377.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;The &lt;/SPAN&gt;&lt;SPAN class="keyword option"&gt;data-protocol&lt;/SPAN&gt;&lt;SPAN&gt; parameter must be specified when the LIF is created, and cannot be modified later."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2015 15:26:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-set-LIF-DataProtocol-with-set-ncnetinterface/m-p/113404#M4602</guid>
      <dc:creator>mcgue</dc:creator>
      <dc:date>2015-12-07T15:26:16Z</dc:date>
    </item>
  </channel>
</rss>

