<?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 clear flow and egress counters in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/clear-flow-and-egress-counters/m-p/45121#M11198</link>
    <description>Create Date: Jun  5 2012 10:31AM&lt;BR /&gt;
&lt;BR /&gt;
Hi&lt;BR /&gt;
&lt;BR /&gt;
I have bd8810, 12.5.4.5, MSM-48c, "C" cards. I configured clear flow with ingress counters on ports to notice some peak or bursts on ports. All works ok on ingress but on egrees doesn't. There are acl with counters on ports, i see counters but clear flow dosen't see counters on egress.&lt;BR /&gt;
&lt;BR /&gt;
configure access-list clear-flow ports 2:1 ingress&lt;BR /&gt;
configure access-list clear-flow ports 2:1 egress&lt;BR /&gt;
&lt;BR /&gt;
# show access-list&lt;BR /&gt;
Vlan Name Port Policy Name Dir Rules Dyn Rules&lt;BR /&gt;
===================================================================&lt;BR /&gt;
* * qp3acl ingress 23 0&lt;BR /&gt;
* 2:1 clear-flow ingress 2 0&lt;BR /&gt;
* 2:1 clear-flow egress 2 0&lt;BR /&gt;
&lt;BR /&gt;
# show access-list port 2:1 egress&lt;BR /&gt;
#Policy Entries&lt;BR /&gt;
1 entry_tag_1&lt;BR /&gt;
2 entry_untag_2&lt;BR /&gt;
3 check_port_1g_rule1&lt;BR /&gt;
&lt;BR /&gt;
# show access-list port 2:1 ingress&lt;BR /&gt;
#Policy Entries&lt;BR /&gt;
1 entry_tag_1&lt;BR /&gt;
2 entry_untag_2&lt;BR /&gt;
3 check_port_1g_rule1&lt;BR /&gt;
&lt;BR /&gt;
19 # show access-list counter ports 2:1 egress&lt;BR /&gt;
Policy Name Vlan Name Port Direction&lt;BR /&gt;
Counter Name Packet Count Byte Count&lt;BR /&gt;
==================================================================&lt;BR /&gt;
clear-flow * 2:1 egress&lt;BR /&gt;
bytecounter1 869143340&lt;BR /&gt;
&lt;BR /&gt;
entry_tag_1 {&lt;BR /&gt;
if match all {&lt;BR /&gt;
ethernet-type 0x8100 ;&lt;BR /&gt;
}&lt;BR /&gt;
then {&lt;BR /&gt;
byte-count bytecounter1 ;&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;BR /&gt;
entry_untag_2 {&lt;BR /&gt;
if match all {&lt;BR /&gt;
ethernet-type 0x0800 ;&lt;BR /&gt;
}&lt;BR /&gt;
then {&lt;BR /&gt;
byte-count bytecounter1 ;&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;BR /&gt;
check_port_1g_rule1 {&lt;BR /&gt;
if match all {&lt;BR /&gt;
delta bytecounter1 &amp;gt;= 700000000 ;&lt;BR /&gt;
period 8 ;&lt;BR /&gt;
}&lt;BR /&gt;
then {&lt;BR /&gt;
snmptrap 123 "Traffic predefined_rule1 exceeds threshold" ;&lt;BR /&gt;
syslog "one port in bytecounter port:$port vlan:$vlanName : $policyName regula: $ruleName wartosc: $ruleValue" INFO 2 ;&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
and output from clear flow:&lt;BR /&gt;
# show clear-flow port 2:1&lt;BR /&gt;
Rule Name Period Type Last Rel Threshold TCNT NumAction&lt;BR /&gt;
Value Oper If Else&lt;BR /&gt;
================================================================================&lt;BR /&gt;
check_port_1g_rule1 8 DT 5159021 &amp;gt;= 700000000.000000 0 2 0&lt;BR /&gt;
================================================================================&lt;BR /&gt;
Total Entries: 1&lt;BR /&gt;
&lt;BR /&gt;
thanks for any help&lt;BR /&gt;
&lt;BR /&gt;
regards&lt;BR /&gt;
Peter&lt;BR /&gt;
&lt;BR /&gt;
  (from peter_peter)</description>
    <pubDate>Wed, 08 Jan 2014 06:50:00 GMT</pubDate>
    <dc:creator>EtherNation_Use</dc:creator>
    <dc:date>2014-01-08T06:50:00Z</dc:date>
    <item>
      <title>clear flow and egress counters</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/clear-flow-and-egress-counters/m-p/45121#M11198</link>
      <description>Create Date: Jun  5 2012 10:31AM&lt;BR /&gt;
&lt;BR /&gt;
Hi&lt;BR /&gt;
&lt;BR /&gt;
I have bd8810, 12.5.4.5, MSM-48c, "C" cards. I configured clear flow with ingress counters on ports to notice some peak or bursts on ports. All works ok on ingress but on egrees doesn't. There are acl with counters on ports, i see counters but clear flow dosen't see counters on egress.&lt;BR /&gt;
&lt;BR /&gt;
configure access-list clear-flow ports 2:1 ingress&lt;BR /&gt;
configure access-list clear-flow ports 2:1 egress&lt;BR /&gt;
&lt;BR /&gt;
# show access-list&lt;BR /&gt;
Vlan Name Port Policy Name Dir Rules Dyn Rules&lt;BR /&gt;
===================================================================&lt;BR /&gt;
* * qp3acl ingress 23 0&lt;BR /&gt;
* 2:1 clear-flow ingress 2 0&lt;BR /&gt;
* 2:1 clear-flow egress 2 0&lt;BR /&gt;
&lt;BR /&gt;
# show access-list port 2:1 egress&lt;BR /&gt;
#Policy Entries&lt;BR /&gt;
1 entry_tag_1&lt;BR /&gt;
2 entry_untag_2&lt;BR /&gt;
3 check_port_1g_rule1&lt;BR /&gt;
&lt;BR /&gt;
# show access-list port 2:1 ingress&lt;BR /&gt;
#Policy Entries&lt;BR /&gt;
1 entry_tag_1&lt;BR /&gt;
2 entry_untag_2&lt;BR /&gt;
3 check_port_1g_rule1&lt;BR /&gt;
&lt;BR /&gt;
19 # show access-list counter ports 2:1 egress&lt;BR /&gt;
Policy Name Vlan Name Port Direction&lt;BR /&gt;
Counter Name Packet Count Byte Count&lt;BR /&gt;
==================================================================&lt;BR /&gt;
clear-flow * 2:1 egress&lt;BR /&gt;
bytecounter1 869143340&lt;BR /&gt;
&lt;BR /&gt;
entry_tag_1 {&lt;BR /&gt;
if match all {&lt;BR /&gt;
ethernet-type 0x8100 ;&lt;BR /&gt;
}&lt;BR /&gt;
then {&lt;BR /&gt;
byte-count bytecounter1 ;&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;BR /&gt;
entry_untag_2 {&lt;BR /&gt;
if match all {&lt;BR /&gt;
ethernet-type 0x0800 ;&lt;BR /&gt;
}&lt;BR /&gt;
then {&lt;BR /&gt;
byte-count bytecounter1 ;&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;BR /&gt;
check_port_1g_rule1 {&lt;BR /&gt;
if match all {&lt;BR /&gt;
delta bytecounter1 &amp;gt;= 700000000 ;&lt;BR /&gt;
period 8 ;&lt;BR /&gt;
}&lt;BR /&gt;
then {&lt;BR /&gt;
snmptrap 123 "Traffic predefined_rule1 exceeds threshold" ;&lt;BR /&gt;
syslog "one port in bytecounter port:$port vlan:$vlanName : $policyName regula: $ruleName wartosc: $ruleValue" INFO 2 ;&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
and output from clear flow:&lt;BR /&gt;
# show clear-flow port 2:1&lt;BR /&gt;
Rule Name Period Type Last Rel Threshold TCNT NumAction&lt;BR /&gt;
Value Oper If Else&lt;BR /&gt;
================================================================================&lt;BR /&gt;
check_port_1g_rule1 8 DT 5159021 &amp;gt;= 700000000.000000 0 2 0&lt;BR /&gt;
================================================================================&lt;BR /&gt;
Total Entries: 1&lt;BR /&gt;
&lt;BR /&gt;
thanks for any help&lt;BR /&gt;
&lt;BR /&gt;
regards&lt;BR /&gt;
Peter&lt;BR /&gt;
&lt;BR /&gt;
  (from peter_peter)</description>
      <pubDate>Wed, 08 Jan 2014 06:50:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/clear-flow-and-egress-counters/m-p/45121#M11198</guid>
      <dc:creator>EtherNation_Use</dc:creator>
      <dc:date>2014-01-08T06:50:00Z</dc:date>
    </item>
  </channel>
</rss>

