hwDevicePktStatReset

HUAWEI-DEVICE-MIB · .1.3.6.1.4.1.2011.6.3.35.1.1

Object

column r/w Integer32
The object specifies the type of statistics to be cleared.
Currently, only the following types are supported:
1. vlanMismatch(1)             -  Reset the statistics of packets discarded due to VLAN tag mismatch.        
2. l3EthTypeErr(2)             -  Reset the statistics of packets discarded by layer 3 interfaces due to EthType error.

Context

MIB
HUAWEI-DEVICE-MIB
OID
.1.3.6.1.4.1.2011.6.3.35.1.1
Type
column
Access
readwrite
Status
current
Parent
hwDevicePktStatEntry
Groups
1

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

Syntax

Integer32

Values & Constraints

Object Constraints
range: 0-255

Conformance