clearPortsStats

LENOVO-GbTOR-G8052-MIB · .1.3.6.1.4.1.26543.2.7.7.1.2.3.6

Object

scalar r/w Enumeration
Setting this to clear(2) results in clearing the statistics for all ports.

Context

MIB
LENOVO-GbTOR-G8052-MIB
OID
.1.3.6.1.4.1.26543.2.7.7.1.2.3.6
Type
scalar
Access
readwrite
Status
current
Parent
portStats

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LENOVO-GbTOR-G8052-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LENOVO-GbTOR-G8052-MIB::clearPortsStats.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LENOVO-GbTOR-G8052-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LENOVO-GbTOR-G8052-MIB::clearPortsStats'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1ok
2clear