cancel
Showing results for 
Search instead for 
Did you mean: 

Counter not incrementing

Counter not incrementing

zeeshan_qadir
New Contributor
Hi everybody
I am new to QOS on Extreme platform. I will appreciate if you help me understand why the counters are not incrementing :

TRAFFIC_GENERATOR---P6- EXSW-P2--ACCEDIAN LOOPBACK.

Above , traffic generator is generating three streams :
DSCP 0
DSCP 8
DSCP 32

Upon entry on P6, they are first policed , counted, and placed in proper queue on egress on port 2:

DSCP0-->QP1
DSCP8--> QP2
DSCP32->QP5

######################################
Vi SNID4.pol
entry AGGEGATE_METER {
if {

}
then {
meter AGGREGATE ;
count AGGREGATE ;
}
}

entry REALTIME_DSCP_32 {
if match any {
dscp 32 ;
}
then {
meter METER_REALTIME_QP5_SNID ;
qosprofile QP5 ;
count REALTIME ;
}
}

entry MED_DSCP_8 {
if match any {
dscp 8 ;
}
then {
meter METER_MED_QP2_SNID ;
qosprofile QP2 ;
count MED ;
}
}

entry STD_DSCP_REST {
if match any {

}
then {
meter METER_STD_QP1_SNID ;
qosprofile QP1 ;
count STD ;
}
}

##############################

X450a-24t.70 # enable diffserv examination ports 6
* X450a-24t.71 # disable dot1p examination ports 6

I can see traffic are placed in right queue on egress on port 2:

* X450a-24t.72 # show port 2 qosmonitorQos Monitor Req Summary Sat May 30 04:19:41 2015
Port QP1 QP2 QP3 QP4 QP5 QP6 QP7 QP8
Pkt Pkt Pkt Pkt Pkt Pkt Pkt Pkt
Xmts Xmts Xmts Xmts Xmts Xmts Xmts Xmts
===============================================================================
2 20327590 27064071 0 0 26423347 0 0 36

ISSUE:

I do not see the counters are incrementing when the traffic enters port 6:

* X450a-24t.74 # show access-list counter ports 6

Policy Name Vlan Name Port Direction
Counter Name Packet Count Byte Count
==================================================================
SNID4 * 6 ingress
AGGREGATE 38081875
MED 0
REALTIME 0
STD 0

Have a great weekend!!

5 REPLIES 5

Andrew_Maldonad
Extreme Employee
Zeeshan,

The first entry within the policy does not appear to display a match condition. With no match condition specified all traffic will match on the first entry. To test the other counters the first entry can be either commented out using a "#" in front of each line of the first entry or moved to the bottom of the policy.

-Andrew
GTM-P2G8KFN