<?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 meter doesn't work for me in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/meter-doesn-t-work-for-me/m-p/27638#M4059</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
On summmit X670-48x with  15.5.4.2 v1554b2-patch1-5 I have problem with meter, i try to limit icmp traffic but looks that ingress shaper doesn't work. &lt;BR /&gt;
i see packets on counter  icmp but i don't see any dropped packets. After the switch, on router, i also see all packets, nothing was dropped..&lt;BR /&gt;
 &lt;BR /&gt;
&lt;BR /&gt;
test:&lt;BR /&gt;
ping 192.168.65.23 -i 0.0001 -c 100000&lt;BR /&gt;
&lt;BR /&gt;
Here is my config&lt;BR /&gt;
&lt;BR /&gt;
entry 1 {&lt;BR /&gt;
if {&lt;BR /&gt;
    protocol icmp;&lt;BR /&gt;
    destination-address 192.168.65.23/32 ;&lt;BR /&gt;
} then {&lt;BR /&gt;
#   deny ;&lt;BR /&gt;
#    permit ;&lt;BR /&gt;
     count icmp;&lt;BR /&gt;
     meter meter_10_K;&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
configure access-list icmp_drop ports 25 ingress&lt;BR /&gt;
&lt;BR /&gt;
create meter meter_10_K&lt;BR /&gt;
configure meter meter_10_K committed-rate 10 Kbps out-actions drop&lt;BR /&gt;
create meter meter_100_K&lt;BR /&gt;
configure meter meter_100_K committed-rate 100 Kbps out-actions drop&lt;BR /&gt;
&lt;BR /&gt;
Summit1.27 # show access-list counter ports 25 ingressPolicy Name       Vlan Name        Port   Direction&lt;BR /&gt;
    Counter Name                   Packet Count         Byte Count&lt;BR /&gt;
==================================================================&lt;BR /&gt;
icmp_drop         *                25     ingress&lt;BR /&gt;
    icmp                           18981&lt;BR /&gt;
&lt;BR /&gt;
Summit1.26 # show  access-list meter ports 25 ingressPolicy Name      Vlan Name        Port&lt;BR /&gt;
                       Committed   Max Burst  Out-of-Profile  Out-of-Profile&lt;BR /&gt;
    Meter              Rate (Kbps) Size (K)   Action    DSCP  Packet Count&lt;BR /&gt;
===============================================================================&lt;BR /&gt;
icmp_drop        *                25&lt;BR /&gt;
    meter_10_K         10          Max        Drop            0&lt;BR /&gt;
&lt;BR /&gt;
Thanks for any help or advice</description>
    <pubDate>Tue, 26 Jul 2016 19:59:00 GMT</pubDate>
    <dc:creator>Pedro2</dc:creator>
    <dc:date>2016-07-26T19:59:00Z</dc:date>
    <item>
      <title>meter doesn't work for me</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/meter-doesn-t-work-for-me/m-p/27638#M4059</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
On summmit X670-48x with  15.5.4.2 v1554b2-patch1-5 I have problem with meter, i try to limit icmp traffic but looks that ingress shaper doesn't work. &lt;BR /&gt;
i see packets on counter  icmp but i don't see any dropped packets. After the switch, on router, i also see all packets, nothing was dropped..&lt;BR /&gt;
 &lt;BR /&gt;
&lt;BR /&gt;
test:&lt;BR /&gt;
ping 192.168.65.23 -i 0.0001 -c 100000&lt;BR /&gt;
&lt;BR /&gt;
Here is my config&lt;BR /&gt;
&lt;BR /&gt;
entry 1 {&lt;BR /&gt;
if {&lt;BR /&gt;
    protocol icmp;&lt;BR /&gt;
    destination-address 192.168.65.23/32 ;&lt;BR /&gt;
} then {&lt;BR /&gt;
#   deny ;&lt;BR /&gt;
#    permit ;&lt;BR /&gt;
     count icmp;&lt;BR /&gt;
     meter meter_10_K;&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
configure access-list icmp_drop ports 25 ingress&lt;BR /&gt;
&lt;BR /&gt;
create meter meter_10_K&lt;BR /&gt;
configure meter meter_10_K committed-rate 10 Kbps out-actions drop&lt;BR /&gt;
create meter meter_100_K&lt;BR /&gt;
configure meter meter_100_K committed-rate 100 Kbps out-actions drop&lt;BR /&gt;
&lt;BR /&gt;
Summit1.27 # show access-list counter ports 25 ingressPolicy Name       Vlan Name        Port   Direction&lt;BR /&gt;
    Counter Name                   Packet Count         Byte Count&lt;BR /&gt;
==================================================================&lt;BR /&gt;
icmp_drop         *                25     ingress&lt;BR /&gt;
    icmp                           18981&lt;BR /&gt;
&lt;BR /&gt;
Summit1.26 # show  access-list meter ports 25 ingressPolicy Name      Vlan Name        Port&lt;BR /&gt;
                       Committed   Max Burst  Out-of-Profile  Out-of-Profile&lt;BR /&gt;
    Meter              Rate (Kbps) Size (K)   Action    DSCP  Packet Count&lt;BR /&gt;
===============================================================================&lt;BR /&gt;
icmp_drop        *                25&lt;BR /&gt;
    meter_10_K         10          Max        Drop            0&lt;BR /&gt;
&lt;BR /&gt;
Thanks for any help or advice</description>
      <pubDate>Tue, 26 Jul 2016 19:59:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/meter-doesn-t-work-for-me/m-p/27638#M4059</guid>
      <dc:creator>Pedro2</dc:creator>
      <dc:date>2016-07-26T19:59:00Z</dc:date>
    </item>
    <item>
      <title>RE: meter doesn't work for me</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/meter-doesn-t-work-for-me/m-p/27639#M4060</link>
      <description>After editing the acl did you refresh the policy?</description>
      <pubDate>Wed, 27 Jul 2016 18:46:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/meter-doesn-t-work-for-me/m-p/27639#M4060</guid>
      <dc:creator>Balaji</dc:creator>
      <dc:date>2016-07-27T18:46:00Z</dc:date>
    </item>
    <item>
      <title>RE: meter doesn't work for me</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/meter-doesn-t-work-for-me/m-p/27640#M4061</link>
      <description>Hello Pedro,&lt;BR /&gt;
&lt;BR /&gt;
ping is a bit problematic if you are trying to create network load, because ping waits for responses before sending a new packet. The -i option adjusts the wait time after receiving an ICMP Echo Reply resp. after the timeout for a reply expires. You can try a flood ping (ping -f) to send more packets.&lt;BR /&gt;
&lt;BR /&gt;
Because ping adapts to the network conditions (RTT), it is quite hard to generate a specific traffic rate in the presence of packet loss. Thus ping is a bad tool to measure rate limiters, which induce packet loss (or delayed packets in the case of shaping).&lt;BR /&gt;
&lt;BR /&gt;
You should consider using iperf in UDP mode to test specific traffic rates.&lt;BR /&gt;
&lt;BR /&gt;
Br,&lt;BR /&gt;
Erik&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Jul 2016 20:07:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/meter-doesn-t-work-for-me/m-p/27640#M4061</guid>
      <dc:creator>Erik_Auerswald</dc:creator>
      <dc:date>2016-07-27T20:07:00Z</dc:date>
    </item>
    <item>
      <title>RE: meter doesn't work for me</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/meter-doesn-t-work-for-me/m-p/27641#M4062</link>
      <description>Hi Pedro, for ICMP traffic I would recommend you to test with some application that sends traffic flows continuously (e.g. 1M/sec ICMP flow). &lt;BR /&gt;
&lt;BR /&gt;
As already mentioned by Erik, -i option might be tricky as well as burst traffic.</description>
      <pubDate>Wed, 27 Jul 2016 22:40:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/meter-doesn-t-work-for-me/m-p/27641#M4062</guid>
      <dc:creator>Henrique</dc:creator>
      <dc:date>2016-07-27T22:40:00Z</dc:date>
    </item>
    <item>
      <title>RE: meter doesn't work for me</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/meter-doesn-t-work-for-me/m-p/27642#M4063</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
thanks for anserwers. I had to reduce burts size and i test with udp packet by hping. Looks better, drop counter counting.. &lt;BR /&gt;
&lt;BR /&gt;
There is some oid via snmp for Out-of-Profile dropped packtes/bits ? Can't find&lt;BR /&gt;
&lt;BR /&gt;
greets,&lt;BR /&gt;
Pedro&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jul 2016 20:39:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/meter-doesn-t-work-for-me/m-p/27642#M4063</guid>
      <dc:creator>Pedro2</dc:creator>
      <dc:date>2016-07-28T20:39:00Z</dc:date>
    </item>
    <item>
      <title>RE: meter doesn't work for me</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/meter-doesn-t-work-for-me/m-p/27643#M4064</link>
      <description>Hi Pedro, you can add the &lt;B&gt;"trap"&lt;/B&gt; option in the meter CLI to generate an SNMP trap if traffic exceeds the configured rate.</description>
      <pubDate>Fri, 29 Jul 2016 01:29:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/meter-doesn-t-work-for-me/m-p/27643#M4064</guid>
      <dc:creator>Henrique</dc:creator>
      <dc:date>2016-07-29T01:29:00Z</dc:date>
    </item>
    <item>
      <title>RE: meter doesn't work for me</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/meter-doesn-t-work-for-me/m-p/27644#M4065</link>
      <description>Hi,&lt;BR /&gt;
How you can get trap parameter  ? Maybe in 16.x xos ? For now i have only 15.5.4.2&lt;BR /&gt;
&lt;BR /&gt;
i try &lt;BR /&gt;
 Summit1.27 # configure meter meter_1_M committed-rate 1000 Kbps max-burst-size 2 Kb out-actions drop trap&lt;BR /&gt;
&lt;BR /&gt;
                                                                                                       ^%% Invalid input detected at '^' marker.&lt;BR /&gt;
&lt;BR /&gt;
In acl i also can't use snmtrap&lt;BR /&gt;
&lt;BR /&gt;
entry 1 {if {&lt;BR /&gt;
    protocol udp;&lt;BR /&gt;
    destination-address 192.168.65.23/32 ;&lt;BR /&gt;
} then {&lt;BR /&gt;
#   deny ;&lt;BR /&gt;
#    permit ;&lt;BR /&gt;
    count icmp_udp;&lt;BR /&gt;
    meter meter_10_K;&lt;BR /&gt;
    snmptrap 123 "Traffic icmp_drop entry 1 exceeds threshold";&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
Line 11 : Statements from Access Control List applicaton line 10 cannot be mixed with statements from Clear Flow application.&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Jul 2016 21:20:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/meter-doesn-t-work-for-me/m-p/27644#M4065</guid>
      <dc:creator>Pedro2</dc:creator>
      <dc:date>2016-07-29T21:20:00Z</dc:date>
    </item>
    <item>
      <title>RE: meter doesn't work for me</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/meter-doesn-t-work-for-me/m-p/27645#M4066</link>
      <description>Hi Pedro, you are correct.&lt;BR /&gt;
&lt;BR /&gt;
I forgot to mention that the &lt;B&gt;trap&lt;/B&gt; option was introduced in EXOS 16.1, sorry about that.</description>
      <pubDate>Fri, 29 Jul 2016 21:26:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/meter-doesn-t-work-for-me/m-p/27645#M4066</guid>
      <dc:creator>Henrique</dc:creator>
      <dc:date>2016-07-29T21:26:00Z</dc:date>
    </item>
    <item>
      <title>RE: meter doesn't work for me</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/meter-doesn-t-work-for-me/m-p/27646#M4067</link>
      <description>now i have xos 16.1.3.6 patch1-8  on some test summit670  and  some problem with this snmptrap. I have tried to set trap action in acl  in global meter configuration but without success &lt;BR /&gt;
&lt;BR /&gt;
 # configure meter meter_1_K committed-rate 10 Pps max-burst-size 1 packets out-actions drop trap&lt;BR /&gt;
Software actions (log, trap, disable port) are not supported for global meters&lt;BR /&gt;
&lt;BR /&gt;
8 # configure meter meter_1_K committed-rate 10 Pps max-burst-size 1 packets out-actions drop trap log ports "group_port_11"&lt;BR /&gt;
Software actions (log, trap, disable port) are not supported for global meters&lt;BR /&gt;
&lt;BR /&gt;
i tried using acl but also failed.&lt;BR /&gt;
&lt;BR /&gt;
entry 1 {&lt;BR /&gt;
if match all {&lt;BR /&gt;
    protocol udp ;&lt;BR /&gt;
#    destination-address 192.168.65.23/32 ;&lt;BR /&gt;
}&lt;BR /&gt;
then {&lt;BR /&gt;
    count icmp_udp ;&lt;BR /&gt;
    meter meter_1_K ;&lt;BR /&gt;
    log ;&lt;BR /&gt;
    trap ;&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
 # refresh policy "icmp_drop"&lt;BR /&gt;
Error:  Was not able to refresh policy icmp_drop Line 11 : "trap" is not a valid attribute&lt;BR /&gt;
&lt;BR /&gt;
I can set snmp trap only broadcast flood on ingress port &lt;BR /&gt;
&lt;BR /&gt;
 # show  configuration | include  trap&lt;BR /&gt;
configure port "group_port_11" rate-limit flood broadcast 100 out-actions log trap&lt;BR /&gt;
&lt;BR /&gt;
Can i use snmptrap with meter ? How i can set "no global" action ? I'm doing something wrong or it's just a bug ?&lt;BR /&gt;
&lt;BR /&gt;
thanks for help&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Aug 2016 15:48:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/meter-doesn-t-work-for-me/m-p/27646#M4067</guid>
      <dc:creator>Pedro2</dc:creator>
      <dc:date>2016-08-02T15:48:00Z</dc:date>
    </item>
    <item>
      <title>RE: meter doesn't work for me</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/meter-doesn-t-work-for-me/m-p/27647#M4068</link>
      <description>It's not a bug. there are 2 kinds of meters: defined by user and 15 predefined in system.&lt;BR /&gt;
Traps, logs and port disable work only with predefined meter.&lt;BR /&gt;
&lt;BR /&gt;
 # show  configuration | include  meterconfigure meter ingmeter0 committed-rate 10 Pps max-burst-size 1 packets out-actions drop log trap ports 11&lt;BR /&gt;
&lt;BR /&gt;
entry 1 {&lt;BR /&gt;
if match all {&lt;BR /&gt;
    protocol udp ;&lt;BR /&gt;
&lt;BR /&gt;
}&lt;BR /&gt;
then {&lt;BR /&gt;
    count icmp_udp ;&lt;BR /&gt;
    meter ingmeter0 ;&lt;BR /&gt;
    log ;&lt;BR /&gt;
&lt;BR /&gt;
}&lt;BR /&gt;
}</description>
      <pubDate>Tue, 02 Aug 2016 18:16:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/meter-doesn-t-work-for-me/m-p/27647#M4068</guid>
      <dc:creator>Pedro2</dc:creator>
      <dc:date>2016-08-02T18:16:00Z</dc:date>
    </item>
  </channel>
</rss>

