peakSwitchClear
SYSTEM-RESOURCE-MIB ·
.1.3.6.1.4.1.52.4.1.1.12.2.5
Object
scalar mandatory
r/w
Enumeration
This object is used to clear the values found in peakSwitchload
and peakSwitchLoadTime.
When set with a value of clear(1) the values will be cleared.
When read, a value of noClear(2) will be returned. A set of noClear(2)
will have no effect.
Context
- MIB
- SYSTEM-RESOURCE-MIB
- OID
.1.3.6.1.4.1.52.4.1.1.12.2.5- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- sysResourceSwitch
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SYSTEM-RESOURCE-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SYSTEM-RESOURCE-MIB::peakSwitchClear.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SYSTEM-RESOURCE-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SYSTEM-RESOURCE-MIB::peakSwitchClear'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | clear |
2 | noClear |