deviceRestoreDefaults
REPEATER-MIB-2 ·
.1.3.6.1.4.1.52.1.2.1.1.32
Object
A get will return 0. A set of 0 will restore all of battery backed RAM to factory defaults, with the execption of the IP address, the community table and the modem baud rate.
Context
- MIB
- REPEATER-MIB-2
- OID
.1.3.6.1.4.1.52.1.2.1.1.32- Type
- scalar
- Access
- readwrite
- Status
- optional
- Parent
- device
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 'REPEATER-MIB-2' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'REPEATER-MIB-2::deviceRestoreDefaults.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'REPEATER-MIB-2' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'REPEATER-MIB-2::deviceRestoreDefaults'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647