<?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: Any ways to list all clients are using a particular LIF? in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Any-ways-to-list-all-clients-are-using-a-particular-LIF/m-p/139646#M30838</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Form a client, you can identify established connections via the command netstat&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;C:\Users\Administrator&amp;gt;netstat -an &lt;BR /&gt;Active Connections&lt;BR /&gt;TCP 192.168.6.11:139 0.0.0.0:0 LISTENING&lt;BR /&gt;TCP 192.168.6.11:3389 192.168.6.254:49441 ESTABLISHED&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;TCP 192.168.6.11:52870 192.168.6.117:445 ESTABLISHED&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, the bold entry identifies that we have a CIFS connection (port 445) from client 192168.6.11 to a LIF with the IP 192.168.6.117&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A similar command is available on the Netapp: &lt;STRONG&gt;network connections active show.&lt;/STRONG&gt; You can filter for cifs-srv, nfs, etc with the -&lt;STRONG&gt;service &lt;/STRONG&gt;cifs&lt;STRONG&gt;-&lt;/STRONG&gt;srv&amp;nbsp;switch .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next, you can identify the LIF and the SVM on the storage controller which is using that IP 192.168.6.117 address via&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;::&amp;gt; network interface show -address 192.168.6.117&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As mentioned in the other reply, you can identify the MAC address and the port used via net&amp;nbsp;port show&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps&lt;/P&gt;
&lt;P&gt;Florian&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Apr 2018 12:07:56 GMT</pubDate>
    <dc:creator>Florian</dc:creator>
    <dc:date>2018-04-17T12:07:56Z</dc:date>
    <item>
      <title>Any ways to list all clients are using a particular LIF?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Any-ways-to-list-all-clients-are-using-a-particular-LIF/m-p/139576#M30819</link>
      <description>&lt;P&gt;I am seeking a way to list clients who are using a particular LIF though which these clients get connected to access the cluster?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;secondly, any way to list MAC address associating with a LIF?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 16:14:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Any-ways-to-list-all-clients-are-using-a-particular-LIF/m-p/139576#M30819</guid>
      <dc:creator>heightsnj</dc:creator>
      <dc:date>2018-04-13T16:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Any ways to list all clients are using a particular LIF?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Any-ways-to-list-all-clients-are-using-a-particular-LIF/m-p/139631#M30835</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A MAC is associated with a port. you need to first fund the current port in order to find the MAC&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;C1:*&amp;gt; network interface show -fields curr-port,curr-node&amp;nbsp; -lif SVMGMT01BK-lif1&lt;BR /&gt;vserver&amp;nbsp;&amp;nbsp;&amp;nbsp; lif&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curr-node&amp;nbsp; curr-port&lt;BR /&gt;---------- --------------- ---------- ---------&lt;BR /&gt;SVM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lif1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; N1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a0b-1&lt;BR /&gt;C1::*&amp;gt; network port show -node N1 -port a0b-1 -fields mac&lt;BR /&gt;node&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; port&amp;nbsp;&amp;nbsp;&amp;nbsp; mac&lt;BR /&gt;---------- ------- -----------------&lt;BR /&gt;N1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a0b-1&amp;nbsp;&amp;nbsp; 00:00:00:00:00:01&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As for clients....&lt;/P&gt;
&lt;P&gt;you didn't specify the protocol - for NFS on pre 9.3 - not so easy:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.netapp.com/t5/OnCommand-Storage-Management-Software-Discussions/nfsstat-l-equiv-in-CDOT/m-p/135534#M24570" target="_blank"&gt;https://community.netapp.com/t5/OnCommand-Storage-Management-Software-Discussions/nfsstat-l-equiv-in-CDOT/m-p/135534#M24570&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for CIFS&lt;/P&gt;
&lt;P&gt;cifs session show -lif-address&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for iSCSI&lt;/P&gt;
&lt;P&gt;iscsi tpgroup show&lt;/P&gt;
&lt;P&gt;iscsi session show -tpgroup &amp;lt;from above&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you can also try to get something from netstat. but some protocols also availble to the client in UDP or stateless TCP... so it will not be there....&lt;/P&gt;
&lt;P&gt;node run * netstat -a&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 15:58:00 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Any-ways-to-list-all-clients-are-using-a-particular-LIF/m-p/139631#M30835</guid>
      <dc:creator>GidonMarcus</dc:creator>
      <dc:date>2018-04-16T15:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Any ways to list all clients are using a particular LIF?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Any-ways-to-list-all-clients-are-using-a-particular-LIF/m-p/139646#M30838</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Form a client, you can identify established connections via the command netstat&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;C:\Users\Administrator&amp;gt;netstat -an &lt;BR /&gt;Active Connections&lt;BR /&gt;TCP 192.168.6.11:139 0.0.0.0:0 LISTENING&lt;BR /&gt;TCP 192.168.6.11:3389 192.168.6.254:49441 ESTABLISHED&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;TCP 192.168.6.11:52870 192.168.6.117:445 ESTABLISHED&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, the bold entry identifies that we have a CIFS connection (port 445) from client 192168.6.11 to a LIF with the IP 192.168.6.117&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A similar command is available on the Netapp: &lt;STRONG&gt;network connections active show.&lt;/STRONG&gt; You can filter for cifs-srv, nfs, etc with the -&lt;STRONG&gt;service &lt;/STRONG&gt;cifs&lt;STRONG&gt;-&lt;/STRONG&gt;srv&amp;nbsp;switch .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next, you can identify the LIF and the SVM on the storage controller which is using that IP 192.168.6.117 address via&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;::&amp;gt; network interface show -address 192.168.6.117&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As mentioned in the other reply, you can identify the MAC address and the port used via net&amp;nbsp;port show&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps&lt;/P&gt;
&lt;P&gt;Florian&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 12:07:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Any-ways-to-list-all-clients-are-using-a-particular-LIF/m-p/139646#M30838</guid>
      <dc:creator>Florian</dc:creator>
      <dc:date>2018-04-17T12:07:56Z</dc:date>
    </item>
  </channel>
</rss>

