Header Only - DO NOT REMOVE - Extreme Networks
Question

clear flow and egress counters


Userlevel 4
Create Date: Jun 5 2012 10:31AM

Hi

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.

configure access-list clear-flow ports 2:1 ingress
configure access-list clear-flow ports 2:1 egress

# show access-list
Vlan Name Port Policy Name Dir Rules Dyn Rules
===================================================================
* * qp3acl ingress 23 0
* 2:1 clear-flow ingress 2 0
* 2:1 clear-flow egress 2 0

# show access-list port 2:1 egress
#Policy Entries
1 entry_tag_1
2 entry_untag_2
3 check_port_1g_rule1

# show access-list port 2:1 ingress
#Policy Entries
1 entry_tag_1
2 entry_untag_2
3 check_port_1g_rule1

19 # show access-list counter ports 2:1 egress
Policy Name Vlan Name Port Direction
Counter Name Packet Count Byte Count
==================================================================
clear-flow * 2:1 egress
bytecounter1 869143340

entry_tag_1 {
if match all {
ethernet-type 0x8100 ;
}
then {
byte-count bytecounter1 ;
}
}
entry_untag_2 {
if match all {
ethernet-type 0x0800 ;
}
then {
byte-count bytecounter1 ;
}
}
check_port_1g_rule1 {
if match all {
delta bytecounter1 >= 700000000 ;
period 8 ;
}
then {
snmptrap 123 "Traffic predefined_rule1 exceeds threshold" ;
syslog "one port in bytecounter port:$port vlan:$vlanName : $policyName regula: $ruleName wartosc: $ruleValue" INFO 2 ;
}
}

and output from clear flow:
# show clear-flow port 2:1
Rule Name Period Type Last Rel Threshold TCNT NumAction
Value Oper If Else
================================================================================
check_port_1g_rule1 8 DT 5159021 >= 700000000.000000 0 2 0
================================================================================
Total Entries: 1

thanks for any help

regards
Peter

(from peter_peter)

0 replies

Be the first to reply!

Reply