hwStatisticUnit

HUAWEI-QOS-MIB · .1.3.6.1.4.1.2011.5.2.6.1.14

Object

column r/w Enumeration
Indicates Unit of a standard or extended ACLv6 for traffic measurement.
Options: 
1. packet(1) -measure by packet
2. byte(2)   -measure by byte
Default: packet(1)

Context

MIB
HUAWEI-QOS-MIB
OID
.1.3.6.1.4.1.2011.5.2.6.1.14
Type
column
Access
readwrite
Status
current
Parent
hwStatisticEntry

Walk 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 'HUAWEI-QOS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-QOS-MIB::hwStatisticUnit'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-QOS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-QOS-MIB::hwStatisticUnit.<hwStatisticAclIndex>.<hwStatisticIfIndex>.<hwStatisticDirection>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-QOS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-QOS-MIB::hwStatisticUnit'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1packet
2byte