policyStatisPackets
MPQOS-MIB ·
.1.3.6.1.4.1.5651.3.21.20.10.1.6
Object
column SNMPv2-SMICounter64
Packets counter for policy classfication statistics.
Context
- MIB
- MPQOS-MIB
- OID
.1.3.6.1.4.1.5651.3.21.20.10.1.6- Type
- column
- Access
- readonly
- Status
- current
- Parent
- policyStatisEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'MPQOS-MIB' -M '/opt/observium/mibs/maipu:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPQOS-MIB::policyStatisPackets'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MPQOS-MIB' -M '/opt/observium/mibs/maipu:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPQOS-MIB::policyStatisPackets.<policyStatisIfIndex>.<policyStatisDirection>.<policyStatisClassName>.<policyStatisSubClassName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MPQOS-MIB' -M '/opt/observium/mibs/maipu:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MPQOS-MIB::policyStatisPackets'
Syntax
- Source
- SNMPv2-SMICounter64
- Base type
Unsigned64
Values & Constraints
Type Constraints
range: 0..18446744073709551615