dpsfClearRunCfg
DLINKPRIME-SYSTEM-FILE-MIB ·
.1.3.6.1.4.1.171.15.22.1.4
Object
scalar r/w
Enumeration
When set to 'clear_cfg_ip_reboot', this object is used to clear running-config including IP address and save to flash then reboot. When set to 'clear_cfg_no_ip_reboot', this object is used to clear running-config except IP address and save to flash then reboot. When set to 'clear_cfg_no_reboot', this object is used to clear running-config including IP address and save to flash but no reboot. No action is taken if this object is set to 'noOp'. When read, the value 'noOp' is returned.
Context
- MIB
- DLINKPRIME-SYSTEM-FILE-MIB
- OID
.1.3.6.1.4.1.171.15.22.1.4- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- dpsfMIBObjects
- Groups
- 1
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 'DLINKPRIME-SYSTEM-FILE-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DLINKPRIME-SYSTEM-FILE-MIB::dpsfClearRunCfg.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DLINKPRIME-SYSTEM-FILE-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DLINKPRIME-SYSTEM-FILE-MIB::dpsfClearRunCfg'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | clear_cfg_ip_reboot |
2 | clear_cfg_no_ip_reboot |
3 | clear_cfg_no_reboot |
4 | noOp |
Conformance
Member of