All MIBs › DES-1226G-MIB › configRestoreDefaults
configRestoreDefaults
Module: DES-1226G-MIB
OID (symbolic): DES-1226G-MIB::configRestoreDefaults
OID (numeric): 1.3.6.1.4.1.171.10.75.1.11.22
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Restores the configuration of the unit to the original settings.
What is configRestoreDefaults?
Setting this to restore(1) resets the switch's configuration back to factory defaults, wiping VLANs, community strings, and IP settings; noop(2) does nothing. An admin uses this as a last resort before re-provisioning a unit.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.10.75.1.11.22 snmpwalk -v2c -c public <target> DES-1226G-MIB::configRestoreDefaults
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.10.75.1.11.22.1 snmpget -v2c -c public <target> DES-1226G-MIB::configRestoreDefaults.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.10.75.1.11.22.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> configRestoreDefaults.1
Start monitoring D-Link DES-1226G smart switch with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DES-1226G-MIB::configRestoreDefaults OID value, configure state conditions and alerts, and monitor any D-Link DES-1226G smart switch from a single console.
OID Breakdown
Upper-level ancestors (7 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.171 | d_link | DE1500-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.10 | dlink_products | DES-1226G-MIB |
| 1.3.6.1.4.1.171.10.75 | dlink_FESmartSwitch | DES-1226G-MIB |
| 1.3.6.1.4.1.171.10.75.1 | des_1226G | DES-1226G-MIB |
| 1.3.6.1.4.1.171.10.75.1.11 | companyConfigGroup | DES-1226G-MIB |
| 1.3.6.1.4.1.171.10.75.1.11.22 | configRestoreDefaults | DES-1226G-MIB |