Reset Search



how to read multiple ACL counters via SNMP

« Go Back


Titlehow to read multiple ACL counters via SNMP
When an ACL is applied in both ingress and egress direction,we are not able to see egress direction via SNMP.
When a policy has more than one counter, via SNMP, we are able to check only the updates from the first counter and subsequent counters are not shown.
EXOS all
This was an issue in EXOS, which has been addressed as part of xos0054714.
Upgrade to a version that contains fix for xos0054714. Check section "Resolved Issues" in Release Notes of latest patch of recommended EXOS release. (What Is The Recommended SW Release For My Platform?, Where to get release notes?)

The OID to gather the counter output via SNMP is with the following explanation:
extremeAclStatsVlanIfIndex ( IfIndex of the VLAN in which this policy/rule is applied
extremeAclStatsPortIfIndex ( IfIndex of the port in which this policy/rule is applied
The ingress/egress direction to which this policy/rule is applied (0 for ingress and 1 for Egress)
Name of the counter for which the stats is requested
The total number of packets that matches this rule
The total number of bytes that matches this rule

The OIDs 1-4 that are index variables, and they are not accessible.
The user can only view the values of the counters of the respective indices.
OID 5 represents packet count, and 6 represents byte count. 

Here an example:
. = Counter64: 0
.  à This represents the vlan instance to which the rule is applied. (Here, this rule is not applied to a vlan)
. -> The port instance (This rule is applied to a port)
.  -> The direction in which the acl is applied (0 indicates ingress, and 1 indicates egress). (Rule is applied in ingress direction)
. -> Number of characters in the counter name.
. -->  ASCII value of counter name (Here it is "cnt40")

Additional notes
Objects in provided table are of type Counter64 and cannot be polled using SNMPv1. Please use SNMPv2 and SNMPv3 to poll these objects.



Was this article helpful?



Please tell us how we can make this article more useful.

Characters Remaining: 255