<?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: vFiler IP change via CLI in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/vFiler-IP-change-via-CLI/m-p/3981#M813</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly... add then remove.&amp;nbsp; If a single IP it looks like ...then a short outage to the vFiler.&amp;nbsp; Some more specifics..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vfiler add vfilername -i newIP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # add the new first since you can't have a vfiler with no ip&lt;/P&gt;&lt;P&gt;vfiler remove vfilername -i oldIP&amp;nbsp;&amp;nbsp;&amp;nbsp; # remove the old IP and unbind it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will then need to ifconfig the interface with the IP you added... running ifconfig using the IP will bind that interface (single port, vif, vlan, alias, etc.) to the vFiler since the IP matches.&amp;nbsp; Add the ifconfig to the /etc/rc file in vfiler0 as well as the "vfiler run vfilername route add default" if needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also run "vfiler run vfilername setup -e interface:ip:subnet" after the vfiler add, but setup will wack several files (hosts, hosts.equiv, exports, etc.) inside the vFiler, so I recommend to just run the ifconfig to create the binding and edit /etc/rc of vfiler0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Nov 2010 23:27:05 GMT</pubDate>
    <dc:creator>scottgelb</dc:creator>
    <dc:date>2010-11-16T23:27:05Z</dc:date>
    <item>
      <title>vFiler IP change via CLI</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/vFiler-IP-change-via-CLI/m-p/3969#M809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to change the IP of a vfiler through CLI?&lt;/P&gt;&lt;P&gt;I want to do it through shell script but "vfiler run" doesn't support anything on vfiler modification. vfiler0 ifconfig helps only defining alias but not ip change for a particular vfiler. Only possible way i know for it is through filerview but I want to use CLI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 07:05:22 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/vFiler-IP-change-via-CLI/m-p/3969#M809</guid>
      <dc:creator>fidelityggn</dc:creator>
      <dc:date>2025-06-05T07:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: vFiler IP change via CLI</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/vFiler-IP-change-via-CLI/m-p/3974#M811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;vfiler add/remove&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 12:03:35 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/vFiler-IP-change-via-CLI/m-p/3974#M811</guid>
      <dc:creator>thomas_glodde</dc:creator>
      <dc:date>2010-11-16T12:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: vFiler IP change via CLI</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/vFiler-IP-change-via-CLI/m-p/3981#M813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly... add then remove.&amp;nbsp; If a single IP it looks like ...then a short outage to the vFiler.&amp;nbsp; Some more specifics..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vfiler add vfilername -i newIP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # add the new first since you can't have a vfiler with no ip&lt;/P&gt;&lt;P&gt;vfiler remove vfilername -i oldIP&amp;nbsp;&amp;nbsp;&amp;nbsp; # remove the old IP and unbind it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will then need to ifconfig the interface with the IP you added... running ifconfig using the IP will bind that interface (single port, vif, vlan, alias, etc.) to the vFiler since the IP matches.&amp;nbsp; Add the ifconfig to the /etc/rc file in vfiler0 as well as the "vfiler run vfilername route add default" if needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also run "vfiler run vfilername setup -e interface:ip:subnet" after the vfiler add, but setup will wack several files (hosts, hosts.equiv, exports, etc.) inside the vFiler, so I recommend to just run the ifconfig to create the binding and edit /etc/rc of vfiler0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 23:27:05 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/vFiler-IP-change-via-CLI/m-p/3981#M813</guid>
      <dc:creator>scottgelb</dc:creator>
      <dc:date>2010-11-16T23:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: vFiler IP change via CLI</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/vFiler-IP-change-via-CLI/m-p/3990#M816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since I just ran through doing this I thought I'd update this post with the exact steps for updating a vfiler which is running in it's own ipspace with a separate default gateway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before executing these steps you'll want to add the new IP to all DNS addresses associated with each respective filer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; 1. Add ip address to vfiler&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;/P&gt;vfiler add &amp;lt;vfiler&amp;gt; -i &amp;lt;ip&amp;gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;2. Remove default gateway&lt;/STRONG&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vfiler run &amp;lt;vfiler&amp;gt; route delete default&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;STRONG&gt;3. Add new default gateway&lt;/STRONG&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;vfiler run &amp;lt;vfiler&amp;gt; route add default &amp;lt;gateway ip&amp;gt; 1&lt;P&gt;vfiler run &amp;lt;vfiler&amp;gt; route -s (confirm that the new route is active)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;STRONG&gt;4.&amp;nbsp; Update the active ip associated with the vfiler from the source/physical filer&lt;/STRONG&gt;&lt;P&gt;&lt;/P&gt;ifconfig &amp;lt;interface&amp;gt; &amp;lt;ip&amp;gt; netmask &amp;lt;netmask&amp;gt; partner &amp;lt;interface&amp;gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;5. Update /etc/rc &amp;amp; /etc/hosts file with new IP for interface and default gateway&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Forgetting to do step 5 will cause you to lose your configuration settings if either the filer reboots or fails over. &lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2013 00:55:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/vFiler-IP-change-via-CLI/m-p/3990#M816</guid>
      <dc:creator>CHRIS_ZURICH</dc:creator>
      <dc:date>2013-11-22T00:55:34Z</dc:date>
    </item>
  </channel>
</rss>

