agentConfigFactoryDefault
MS-SWITCH30-MIB ·
.1.3.6.1.4.1.3181.10.3.2.8
Object
scalar r/w
Enumeration
Set this entry to '1' before setting the entry 'agentConfigReset' to '1' sets the device to factory defaults once and the entry is self cleared. Setting this entry to '2' it will remain as set and every standard reset will be a factory reset. If 'Permanent Factory Reset' is not supported then the 'Temporary Factory Reset' will be set instead.
Context
- MIB
- MS-SWITCH30-MIB
- OID
.1.3.6.1.4.1.3181.10.3.2.8- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- agent
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 'MS-SWITCH30-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MS-SWITCH30-MIB::agentConfigFactoryDefault.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MS-SWITCH30-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MS-SWITCH30-MIB::agentConfigFactoryDefault'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | normalOperation |
1 | factoryResetTemp |
2 | factoryResetPerm |