<?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: Rate-limit in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54803#M15704</link>
    <description>Just to document this, I have encountered the issue with basically unusable broadcast limiters on X670 switches with different EXOS versions (15.2, 15.3, 15.6). </description>
    <pubDate>Thu, 23 Jun 2016 15:10:00 GMT</pubDate>
    <dc:creator>Erik_Auerswald</dc:creator>
    <dc:date>2016-06-23T15:10:00Z</dc:date>
    <item>
      <title>Rate-limit</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54784#M15685</link>
      <description>Hi everybody. &lt;BR /&gt;
I have two Summit x670 (15.4.1.3) switches and I'd like to limit inbound broadcast, multicast and unknown unicast packets on specific ports. So, I've configured rate-limit to 500pps.&lt;BR /&gt;
&lt;BR /&gt;
config port 3 rate-limit flood broadcast 500&lt;BR /&gt;
config port 3 rate-limit flood multicast 500&lt;BR /&gt;
config port 3 rate-limit flood unknown-destmac 500Then I see the output of "show ports 3 stat" command. I see only 10-20 pps, but Flood Rate Exceeded counter is increasing and I have log messages like &lt;BR /&gt;
&lt;I&gt; Flood Rate Limiting activated on Port 3&lt;BR /&gt;
&lt;BR /&gt;&lt;/I&gt;</description>
      <pubDate>Thu, 20 Nov 2014 18:01:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54784#M15685</guid>
      <dc:creator>eyeV</dc:creator>
      <dc:date>2014-11-20T18:01:00Z</dc:date>
    </item>
    <item>
      <title>RE: Rate-limit</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54785#M15686</link>
      <description>can you write an acl to count the ingress packets.&lt;BR /&gt;
just to confirm what packets are seen.&lt;BR /&gt;
show l2stats for that specific vlan.&lt;BR /&gt;
see how many packets are multicast and how many are broadcast.&lt;BR /&gt;
clear l2stats&lt;BR /&gt;
show l2stats vlan &lt;VLANNAME&gt;&lt;/VLANNAME&gt;</description>
      <pubDate>Thu, 20 Nov 2014 18:16:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54785#M15686</guid>
      <dc:creator>PARTHIBAN_CHINN</dc:creator>
      <dc:date>2014-11-20T18:16:00Z</dc:date>
    </item>
    <item>
      <title>RE: Rate-limit</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54786#M15687</link>
      <description>I can write an acl like.&lt;BR /&gt;
entry BCAST {&lt;BR /&gt;
        if {&lt;BR /&gt;
                ethernet-destination-address ff:ff:ff:ff:ff:ff;&lt;BR /&gt;
        }&lt;BR /&gt;
        then {&lt;BR /&gt;
                packet-count bcast-pkt;&lt;BR /&gt;
        }&lt;BR /&gt;
}As to "show l2stats". I don't see any broadcast or multicast counters in output of this command. I see only &lt;BR /&gt;
Bridge interface on VLAN Default:&lt;BR /&gt;
Total number of packets to CPU = 2923.&lt;BR /&gt;
Total number of packets learned = 38837.&lt;BR /&gt;
Total number of IGMP control packets snooped = 255.&lt;BR /&gt;
Total number of IGMP data packets switched = 218.&lt;BR /&gt;
Total number of MLD control packets snooped = 0.&lt;BR /&gt;
Total number of MLD data packets switched = 0.&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Nov 2014 18:32:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54786#M15687</guid>
      <dc:creator>eyeV</dc:creator>
      <dc:date>2014-11-20T18:32:00Z</dc:date>
    </item>
    <item>
      <title>RE: Rate-limit</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54787#M15688</link>
      <description>hello broadcast packets directly hit cpu.&lt;BR /&gt;
unknown unicast [mac learning] &lt;BR /&gt;
Total number of packets learned = 38837.&lt;BR /&gt;
clear l2stats&lt;BR /&gt;
show l2stats vlan &lt;VLAN name=""&gt;-run this command 5 times with 1 sec interval to see how many &lt;BR /&gt;
packets are hitting cpu.&lt;BR /&gt;
&lt;BR /&gt;&lt;/VLAN&gt;</description>
      <pubDate>Thu, 20 Nov 2014 18:39:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54787#M15688</guid>
      <dc:creator>PARTHIBAN_CHINN</dc:creator>
      <dc:date>2014-11-20T18:39:00Z</dc:date>
    </item>
    <item>
      <title>RE: Rate-limit</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54788#M15689</link>
      <description>Ok. But I have about 50 vlans on this port.&lt;BR /&gt;
&lt;BR /&gt;
Anyway, this is an output of show l2stats vlan Default command.&lt;BR /&gt;
&lt;BR /&gt;
Bridge interface on VLAN Default:&lt;BR /&gt;
Total number of packets to CPU = 5.&lt;BR /&gt;
Total number of packets learned = 48.&lt;BR /&gt;
&lt;BR /&gt;
Bridge interface on VLAN Default:&lt;BR /&gt;
Total number of packets to CPU = 8.&lt;BR /&gt;
Total number of packets learned = 70.&lt;BR /&gt;
&lt;BR /&gt;
Bridge interface on VLAN Default:&lt;BR /&gt;
Total number of packets to CPU = 11.&lt;BR /&gt;
Total number of packets learned = 104.&lt;BR /&gt;
&lt;BR /&gt;
Bridge interface on VLAN Default:&lt;BR /&gt;
Total number of packets to CPU = 14.&lt;BR /&gt;
Total number of packets learned = 132.&lt;BR /&gt;
&lt;BR /&gt;
Bridge interface on VLAN Default:&lt;BR /&gt;
Total number of packets to CPU = 16.&lt;BR /&gt;
Total number of packets learned = 142.&lt;BR /&gt;
&lt;BR /&gt;
Bridge interface on VLAN Default:&lt;BR /&gt;
Total number of packets to CPU = 18.&lt;BR /&gt;
Total number of packets learned = 174.&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Nov 2014 18:51:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54788#M15689</guid>
      <dc:creator>eyeV</dc:creator>
      <dc:date>2014-11-20T18:51:00Z</dc:date>
    </item>
    <item>
      <title>RE: Rate-limit</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54789#M15690</link>
      <description>This is the counter from acl&lt;BR /&gt;
&lt;BR /&gt;
Policy Name       Vlan Name        Port   Direction  &lt;BR /&gt;
    Counter Name                   Packet Count         Byte Count           &lt;BR /&gt;
==================================================================&lt;BR /&gt;
bcast-counter     *                2      ingress   &lt;BR /&gt;
    bcast-pkt                      43                                        &lt;BR /&gt;
&lt;BR /&gt;
* xCore1.49 # sh access-list counter &lt;BR /&gt;
Policy Name       Vlan Name        Port   Direction  &lt;BR /&gt;
    Counter Name                   Packet Count         Byte Count           &lt;BR /&gt;
==================================================================&lt;BR /&gt;
bcast-counter     *                2      ingress   &lt;BR /&gt;
    bcast-pkt                      43                                        &lt;BR /&gt;
&lt;BR /&gt;
* xCore1.49 # sh access-list counter &lt;BR /&gt;
Policy Name       Vlan Name        Port   Direction  &lt;BR /&gt;
    Counter Name                   Packet Count         Byte Count           &lt;BR /&gt;
==================================================================&lt;BR /&gt;
bcast-counter     *                2      ingress   &lt;BR /&gt;
    bcast-pkt                      50                                        &lt;BR /&gt;
&lt;BR /&gt;
* xCore1.49 # sh access-list counter &lt;BR /&gt;
Policy Name       Vlan Name        Port   Direction  &lt;BR /&gt;
    Counter Name                   Packet Count         Byte Count           &lt;BR /&gt;
==================================================================&lt;BR /&gt;
bcast-counter     *                2      ingress   &lt;BR /&gt;
    bcast-pkt                      62                                        &lt;BR /&gt;
&lt;BR /&gt;
* xCore1.49 # sh access-list counter &lt;BR /&gt;
Policy Name       Vlan Name        Port   Direction  &lt;BR /&gt;
    Counter Name                   Packet Count         Byte Count           &lt;BR /&gt;
==================================================================&lt;BR /&gt;
bcast-counter     *                2      ingress   &lt;BR /&gt;
    bcast-pkt                      69                                        &lt;BR /&gt;
&lt;BR /&gt;
* xCore1.49 # sh access-list counter &lt;BR /&gt;
Policy Name       Vlan Name        Port   Direction  &lt;BR /&gt;
    Counter Name                   Packet Count         Byte Count           &lt;BR /&gt;
==================================================================&lt;BR /&gt;
bcast-counter     *                2      ingress   &lt;BR /&gt;
    bcast-pkt                      70                                        &lt;BR /&gt;
&lt;BR /&gt;
* xCore1.49 # sh access-list counter &lt;BR /&gt;
Policy Name       Vlan Name        Port   Direction  &lt;BR /&gt;
    Counter Name                   Packet Count         Byte Count           &lt;BR /&gt;
==================================================================&lt;BR /&gt;
bcast-counter     *                2      ingress   &lt;BR /&gt;
    bcast-pkt                      83                                        &lt;BR /&gt;
&lt;BR /&gt;
I've run this command with 1 sec interval.&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Nov 2014 19:00:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54789#M15690</guid>
      <dc:creator>eyeV</dc:creator>
      <dc:date>2014-11-20T19:00:00Z</dc:date>
    </item>
    <item>
      <title>RE: Rate-limit</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54790#M15691</link>
      <description>These outputs doesnt justify there is an issue.&lt;BR /&gt;
Next steps would be to take a packet capture on the ingress.&lt;BR /&gt;
You can do it by yourself by port mirroring or.&lt;BR /&gt;
if you reachout to TAC they can do TCPdump ---which needs debug password to get into debug mode.&lt;BR /&gt;
&lt;BR /&gt;
could you also check the cpu utilisation.&lt;BR /&gt;
is any specific process is high ex.bcmrx?</description>
      <pubDate>Thu, 20 Nov 2014 19:54:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54790#M15691</guid>
      <dc:creator>PARTHIBAN_CHINN</dc:creator>
      <dc:date>2014-11-20T19:54:00Z</dc:date>
    </item>
    <item>
      <title>RE: Rate-limit</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54791#M15692</link>
      <description>Thanks. CPU utilization in normal state. I'm going to capture traffic on this interface.&lt;BR /&gt;
&lt;BR /&gt;
Could it be the bug in XOS or something? I found this topic here &lt;A href="https://community.extremenetworks.com/extreme/topics/problem_with_rate_limit_on_summit_x650-l8ftu" target="_blank" rel="nofollow noreferrer noopener"&gt;https://community.extremenetworks.com/extreme/topics/problem_with_rate_limit_on_summit_x650-l8ftu&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Nov 2014 20:16:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54791#M15692</guid>
      <dc:creator>eyeV</dc:creator>
      <dc:date>2014-11-20T20:16:00Z</dc:date>
    </item>
    <item>
      <title>RE: Rate-limit</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54792#M15693</link>
      <description>It could be but I would always do the maximum troubleshooting i can do and then reach out to TAC for  confirmation.</description>
      <pubDate>Thu, 20 Nov 2014 20:27:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54792#M15693</guid>
      <dc:creator>PARTHIBAN_CHINN</dc:creator>
      <dc:date>2014-11-20T20:27:00Z</dc:date>
    </item>
    <item>
      <title>RE: Rate-limit</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54793#M15694</link>
      <description>Ok. Thanks.&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Nov 2014 20:37:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54793#M15694</guid>
      <dc:creator>eyeV</dc:creator>
      <dc:date>2014-11-20T20:37:00Z</dc:date>
    </item>
    <item>
      <title>RE: Rate-limit</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54794#M15695</link>
      <description>Hi everybody.&lt;BR /&gt;
It might be interesting for somebody. I've got some explanations from TAC. My problem with rate-limit is peculiarity or feature of platform.&lt;BR /&gt;
&lt;BR /&gt;
One second is divided into 15.625 microseconds intervals. The rate-limiting mechanism occurs when the platform receives lots of packets in one 15.625 microsecond interval.&lt;BR /&gt;
&lt;BR /&gt;
For example. I've configured &lt;BR /&gt;
conf ports 25 rate-limit flood broadcast 100000&lt;BR /&gt;
&lt;BR /&gt;
Rate-limiting mechanism occurs when the box receives ~1.5 packet in 15.625 microsecond.</description>
      <pubDate>Wed, 04 Feb 2015 12:39:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54794#M15695</guid>
      <dc:creator>eyeV</dc:creator>
      <dc:date>2015-02-04T12:39:00Z</dc:date>
    </item>
    <item>
      <title>RE: Rate-limit</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54795#M15696</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
if you want to stick to a pps measuring, apply a meter, otherwise yes, the newer chipsets are not working anymore at the /s sampling rate. This is the reason why you may hit the rate-limit while you don't have that much of traffic on a per second time basis.&lt;BR /&gt;
&lt;BR /&gt;
As for tcpdump (I saw it mentioned in this thread), if you plan to use it keep in mind that you're sniffing in software, so it takes potentially a lot of resources, which may have a bad side effect. So take care with that. Port mirroring is happening in hardware, it's better to use it.&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Feb 2015 20:25:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54795#M15696</guid>
      <dc:creator>Stephane_Grosj1</dc:creator>
      <dc:date>2015-02-04T20:25:00Z</dc:date>
    </item>
    <item>
      <title>RE: Rate-limit</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54796#M15697</link>
      <description>Thanks, useful advice.&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Feb 2015 20:25:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54796#M15697</guid>
      <dc:creator>eyeV</dc:creator>
      <dc:date>2015-02-04T20:25:00Z</dc:date>
    </item>
    <item>
      <title>RE: Rate-limit</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54797#M15698</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
currently i fight on the same line - means i use rate-limit (1000pps on a 1GB Link) and wonder why rate-limit exceeded and the counters are far away from this 1000pps threshold.&lt;BR /&gt;
&lt;BR /&gt;
I use a X670V-G2. i use rate-limit to avoid loops because RSTP is to complex to setup in my environment (that it works with netlogin and is compatible to enterasys).&lt;BR /&gt;
&lt;BR /&gt;
So i think because the new (G2 Switches) are measures based on the mentioned 15,6 micro-secs time slots (tokens) the configured CLI threshold in packets per second will never working reliable. Means the ASIC cannot measure the configured CLI limit in pps reliable.&lt;BR /&gt;
&lt;BR /&gt;
I think there is currently (nearly) an ON - OFF Situation regarding rate-limits.If you turn it on, set it to the max value 262144 - because then max. 4 Packets per time slot (15,625 micro-secs) are allowed OR at least to a value 131072 then  2 Packets allowed.&lt;BR /&gt;
&lt;BR /&gt;
This is step back / disadvantage compared to the G1 Switch Platform - normally we expect the Switch will offer better features!&lt;BR /&gt;
&lt;BR /&gt;
Currently there is a KB Article which explain that:&lt;BR /&gt;
"How to rate-limit implement on EXOS platforms?" KB2628&lt;BR /&gt;
&lt;BR /&gt;
Are my understandings right ? If not please correct me.&lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Jun 2016 12:44:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54797#M15698</guid>
      <dc:creator>M_Nees</dc:creator>
      <dc:date>2016-06-23T12:44:00Z</dc:date>
    </item>
    <item>
      <title>RE: Rate-limit</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54798#M15699</link>
      <description>Hi,    I believe a fix is included in 21.1 for this feature. You might want to try if you have G2.</description>
      <pubDate>Thu, 23 Jun 2016 12:54:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54798#M15699</guid>
      <dc:creator>Stephane_Grosj1</dc:creator>
      <dc:date>2016-06-23T12:54:00Z</dc:date>
    </item>
    <item>
      <title>RE: Rate-limit</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54799#M15700</link>
      <description>Hi Stephane,&lt;BR /&gt;
&lt;BR /&gt;
i have a look at the current Release Notes 21.1.1 - and i found only these:&lt;BR /&gt;
&lt;BR /&gt;
Configuration of Overhead-bytes in Calculating Rate-Limiting and Rate-Shaping&lt;BR /&gt;
&lt;BR /&gt;
But this changes nothing regarding the lost or not reliable rate-limit threshold on G2 Switches.&lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Jun 2016 13:08:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54799#M15700</guid>
      <dc:creator>M_Nees</dc:creator>
      <dc:date>2016-06-23T13:08:00Z</dc:date>
    </item>
    <item>
      <title>RE: Rate-limit</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54800#M15701</link>
      <description>Did you test with 21.1?</description>
      <pubDate>Thu, 23 Jun 2016 13:08:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54800#M15701</guid>
      <dc:creator>Stephane_Grosj1</dc:creator>
      <dc:date>2016-06-23T13:08:00Z</dc:date>
    </item>
    <item>
      <title>RE: Rate-limit</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54801#M15702</link>
      <description>Hi Stephane,&lt;BR /&gt;
i do not test because if nothing i written to the release notes engineering do not change the regarding code!&lt;BR /&gt;
&lt;BR /&gt;
Do you think or know that anything would be changed ?&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Jun 2016 13:08:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54801#M15702</guid>
      <dc:creator>M_Nees</dc:creator>
      <dc:date>2016-06-23T13:08:00Z</dc:date>
    </item>
    <item>
      <title>RE: Rate-limit</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54802#M15703</link>
      <description>From what I recall, this code has been fixed in 21.1, I had a thread with engineering on that topic. I never tested it, so that would be worth checking in a lab first.&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Jun 2016 13:08:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54802#M15703</guid>
      <dc:creator>Stephane_Grosj1</dc:creator>
      <dc:date>2016-06-23T13:08:00Z</dc:date>
    </item>
    <item>
      <title>RE: Rate-limit</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54803#M15704</link>
      <description>Just to document this, I have encountered the issue with basically unusable broadcast limiters on X670 switches with different EXOS versions (15.2, 15.3, 15.6). </description>
      <pubDate>Thu, 23 Jun 2016 15:10:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/rate-limit/m-p/54803#M15704</guid>
      <dc:creator>Erik_Auerswald</dc:creator>
      <dc:date>2016-06-23T15:10:00Z</dc:date>
    </item>
  </channel>
</rss>

