hwStatisticCountClear

HUAWEI-QOS-MIB · .1.3.6.1.4.1.2011.5.2.6.1.12

Object

column r/w Enumeration
Used for deleting the statistics of packets that matches an ACL rule on a specified port. 
To clear hwStatisticPacketCount, you can set this leaf to cleared(1). 
In the query operation, this leaf is fixed to nouse(2). 
Options:
1. cleared(1) -delete the statistics of packets that matches an ACL rule on a specified port
2. nouse(2)   -in the query operation, this leaf is fixed to nouse(2).

Context

MIB
HUAWEI-QOS-MIB
OID
.1.3.6.1.4.1.2011.5.2.6.1.12
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::hwStatisticCountClear'
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::hwStatisticCountClear.<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::hwStatisticCountClear'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1cleared
2nouse