<?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: Why does the activity of LACP is not balance? in ONTAP Hardware</title>
    <link>https://community.netapp.com/t5/ONTAP-Hardware/Why-does-the-activity-of-LACP-is-not-balance/m-p/103094#M6279</link>
    <description>&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/5684"&gt;@hariprak&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thanks for the reply. Base from the logs the state of the 2 ports are UP and &amp;nbsp;input/output LACP packets are incrementing. I just want to know why is that its not balance and i want to know why it is happening. Did i missed a configuration on the NetApp side or the switch side?&lt;BR /&gt;&lt;BR /&gt;e0b:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;input lacp packets 12663, output lacp packets 212566&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;eoa:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;input lacp packets 19331, output lacp packets 19293&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 13 Apr 2015 07:01:07 GMT</pubDate>
    <dc:creator>SCOTT_V_RONTALE</dc:creator>
    <dc:date>2015-04-13T07:01:07Z</dc:date>
    <item>
      <title>Why does the activity of LACP is not balance?</title>
      <link>https://community.netapp.com/t5/ONTAP-Hardware/Why-does-the-activity-of-LACP-is-not-balance/m-p/103089#M6275</link>
      <description>&lt;P&gt;Hi Everyone ,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;Just want to ask why is that the input of lacp packets is not balance for 2 ports? and what can we do to solve the issue?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Scott&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;default: transmit 'IP Load balancing', Ifgrp Type 'multi_mode', fail 'log'&lt;/P&gt;&lt;P&gt;lif1: 2 links, transmit 'IP Load balancing', Ifgrp Type 'lacp' fail 'default'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ifgrp Status&amp;nbsp;&amp;nbsp; Up&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Addr_set&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; up:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;e0b: state up, since 09Apr2015 12:45:37 (02:10:16)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mediatype: auto-1000t-fd-up&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flags: enabled&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; active aggr, aggr port: e0a&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input packets 701473, input bytes 302470990&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input lacp packets 12663, output lacp packets 212566&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output packets 754728, output bytes 1067802842&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; up indications 10, broken indications 7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; drops (if) 0, drops (link) 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; indication: up at 09Apr2015 12:45:37&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; consecutive 0, transitions 17&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e0a: state up, since 02Apr2015 21:51:27 (6+17:04:26)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mediatype: auto-1000t-fd-up&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flags: enabled&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; active aggr, aggr port: e0a&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input packets 1330436934, input bytes 139326254469&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input lacp packets 19331, output lacp packets 19293&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output packets 998858144, output bytes 2890679595869&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; up indications 2, broken indications 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; drops (if) 0, drops (link) 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; indication: up at 02Apr2015 21:51:27&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; consecutive 0, transitions 2&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 04:36:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Hardware/Why-does-the-activity-of-LACP-is-not-balance/m-p/103089#M6275</guid>
      <dc:creator>SCOTT_V_RONTALE</dc:creator>
      <dc:date>2025-06-05T04:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the activity of LACP is not balance?</title>
      <link>https://community.netapp.com/t5/ONTAP-Hardware/Why-does-the-activity-of-LACP-is-not-balance/m-p/103091#M6276</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following are the common causes for misconfigured port channel groups:&lt;BR /&gt;&lt;BR /&gt;The network switch is not configured correctly.&lt;BR /&gt;The cables from the storage controller NICs are connected to the wrong network switch ports.&lt;BR /&gt;The wrong ports are specified in the ifgrp configuration on the storage controller.&lt;BR /&gt;Cabling or hardware issue and/or bad Ethernet cable or switch port/module.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can refer below kb article which discuss about troubleshooting of LACP port channel&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://kb.netapp.com/support/index?page=content&amp;amp;id=3013774&amp;amp;actp=search&amp;amp;viewlocale=en_US&amp;amp;searchid=1428903550631" target="_blank"&gt;https://kb.netapp.com/support/index?page=content&amp;amp;id=3013774&amp;amp;actp=search&amp;amp;viewlocale=en_US&amp;amp;searchid=1428903550631&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You can also refer&amp;nbsp; Technical Report TR-3802 for best practices on the configuration of LACP port channel groups&lt;BR /&gt;&lt;A href="http://www.netapp.com/us/media/tr-3802.pdf" target="_blank"&gt;http://www.netapp.com/us/media/tr-3802.pdf&lt;/A&gt;&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>Mon, 13 Apr 2015 06:39:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Hardware/Why-does-the-activity-of-LACP-is-not-balance/m-p/103091#M6276</guid>
      <dc:creator>hariprak</dc:creator>
      <dc:date>2015-04-13T06:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the activity of LACP is not balance?</title>
      <link>https://community.netapp.com/t5/ONTAP-Hardware/Why-does-the-activity-of-LACP-is-not-balance/m-p/103092#M6277</link>
      <description>Input load balancing is performed by your LAN equipment (switches); filer had absolutely no influence on it.</description>
      <pubDate>Mon, 13 Apr 2015 06:46:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Hardware/Why-does-the-activity-of-LACP-is-not-balance/m-p/103092#M6277</guid>
      <dc:creator>aborzenkov</dc:creator>
      <dc:date>2015-04-13T06:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the activity of LACP is not balance?</title>
      <link>https://community.netapp.com/t5/ONTAP-Hardware/Why-does-the-activity-of-LACP-is-not-balance/m-p/103094#M6279</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/5684"&gt;@hariprak&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thanks for the reply. Base from the logs the state of the 2 ports are UP and &amp;nbsp;input/output LACP packets are incrementing. I just want to know why is that its not balance and i want to know why it is happening. Did i missed a configuration on the NetApp side or the switch side?&lt;BR /&gt;&lt;BR /&gt;e0b:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;input lacp packets 12663, output lacp packets 212566&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;eoa:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;input lacp packets 19331, output lacp packets 19293&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2015 07:01:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Hardware/Why-does-the-activity-of-LACP-is-not-balance/m-p/103094#M6279</guid>
      <dc:creator>SCOTT_V_RONTALE</dc:creator>
      <dc:date>2015-04-13T07:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the activity of LACP is not balance?</title>
      <link>https://community.netapp.com/t5/ONTAP-Hardware/Why-does-the-activity-of-LACP-is-not-balance/m-p/103096#M6280</link>
      <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/9541"&gt;@aborzenkov&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for the reply! how can you interpret the logs? So you mean to say that there is a misconfiguration on the switch side? How can I check on this?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2015 06:59:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Hardware/Why-does-the-activity-of-LACP-is-not-balance/m-p/103096#M6280</guid>
      <dc:creator>SCOTT_V_RONTALE</dc:creator>
      <dc:date>2015-04-13T06:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the activity of LACP is not balance?</title>
      <link>https://community.netapp.com/t5/ONTAP-Hardware/Why-does-the-activity-of-LACP-is-not-balance/m-p/103098#M6282</link>
      <description>&lt;P&gt;From the Data ONTAP network management Guide, at &lt;A href="https://library.netapp.com/ecm/ecm_download_file/ECMP1368834" target="_blank"&gt;https://library.netapp.com/ecm/ecm_download_file/ECMP1368834&lt;/A&gt;&amp;nbsp;page&amp;nbsp;#96,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"The &lt;FONT color="#0000FF"&gt;Data ONTAP&lt;/FONT&gt; load balancing algorithm &lt;FONT color="#0000FF"&gt;determines&lt;/FONT&gt; the member&lt;FONT color="#0000FF"&gt; port to be used to transmit &lt;/FONT&gt;outbound traffic, and &lt;FONT color="#0000FF"&gt;does not control how inbound frames are received&lt;/FONT&gt;. The switch determines the member (individual physical port) of its port channel group to be used for transmission, based on the load balancing algorithm configured in the switch's port channel group. Therefore, the switch configuration determines the member port (individual physical port) of the storage system to receive traffic. For more information about configuring the switch, see the documentation from your switch vendor."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There is some confusion as to how IP and MAC based load-balancing work.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The lacp vif in question uses an IP based load balancing, which uses an algorithm that determines a particular physical port in the ifgroup, to send packets to any given IP address at any pint in time. What that means is if you have hosts A, B, C and D talking to the storage controller, with an LACP vif comprised of e0a,e0b,e0c and e0d, chances are like, host A will always talk to e0a, host B to e0b and so on. So, if your host B is more talkative than others, e0b port will see more traffic than e0a.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is a very simple calculation that shows how this algorithm works.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Assume that we have a storage controller, whose e0a and e0b ports are aggregated into an LACP vif. e0a being the first port added to the vif, it gets an id 0, and e0b will have id 1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Consider the IP of this vif is 192.168.0.10 and we have 2 hosts at 192.168.0.13 and 192.168.0.14&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Lets take the last octet of the source IP (netapp) and destination IP (hostA) which would be 10 and 13.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now, perform an XOR between 10 and 13 , which is 7.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Divide this number by the # of members in the Vif, (7 / 2 ) which gives result 3 with a &lt;FONT color="#0000FF"&gt;reminder 1.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;doing the same calculation for hostB : 10 XOR 14 = 4 . dividing 4 by 2 gives value 2 with &lt;FONT color="#0000FF"&gt;reminder 0.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;In this case, host A will always talk to port with ID 1 (which is e0b), and Host B will talk to port with ID 0 (e0a). All your other hosts will be distributed between these two ports based on the source/destination IP pair, and the #of ports in the vif.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope that was clear. As I mentioned earlier, This example is only for explaining the concept, if you really want to know the actual algorithm please have a look at this KB article. &lt;A href="https://kb.netapp.com/support/index?page=content&amp;amp;id=1014277" target="_blank"&gt;https://kb.netapp.com/support/index?page=content&amp;amp;id=1014277&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only load balancing method that can give a near-true load balancing is the round robin, &amp;nbsp;(-b rr switch of ifgrp create command) However, it may cause out-of-order packet delivery and related problems.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2015 07:09:06 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Hardware/Why-does-the-activity-of-LACP-is-not-balance/m-p/103098#M6282</guid>
      <dc:creator>georgevj</dc:creator>
      <dc:date>2015-04-14T07:09:06Z</dc:date>
    </item>
  </channel>
</rss>

