lldpStatsClear
MY-LLDP-MIB ·
.1.3.6.1.4.1.4881.1.1.10.2.32.1.2.1.1.5
Object
Use this object to clear the statistics of this row When setting this object's value to nono 0, such as 1, will clear all the statistics of this row. when access, always return 0.
Context
- MIB
- MY-LLDP-MIB
- OID
.1.3.6.1.4.1.4881.1.1.10.2.32.1.2.1.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- lldpStatsEntry
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 'MY-LLDP-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MY-LLDP-MIB::lldpStatsClear'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MY-LLDP-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MY-LLDP-MIB::lldpStatsClear.<lldpStatsPortIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MY-LLDP-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MY-LLDP-MIB::lldpStatsClear'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647