All MIBs › SWCOMMGMT-MIB › agentFactoryReset
agentFactoryReset
Module: SWCOMMGMT-MIB
OID (symbolic): SWCOMMGMT-MIB::agentFactoryReset
OID (numeric): 1.3.6.1.4.1.2272.1.201.1.1.1.2.11
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: This object indicates the agent system reset state. Setting this object to no-reset(5) has no effect. Setting this object to reset(2) will reset the agent to default settings except IP address, user account and history log. Setting this object to config(3) will reset the agent to default settings. Setting this object to system(4) will reset the agent to default settings. Then the switch will do factory reset, save and reboot. The agent always returns no-reset(5) when this object is read.
What is agentFactoryReset?
Triggers a factory reset when set: reset(2) restores defaults but preserves IP address, user accounts, and history log; config(3) and system(4) restore full defaults (system(4) additionally reboots the switch); no-reset(5) has no effect and is always what's returned on read.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2272.1.201.1.1.1.2.11 snmpwalk -v2c -c public <target> SWCOMMGMT-MIB::agentFactoryReset
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2272.1.201.1.1.1.2.11.1 snmpget -v2c -c public <target> SWCOMMGMT-MIB::agentFactoryReset.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2272.1.201.1.1.1.2.11.1 i <value>
Start monitoring D-Link managed switch, common base across product line (shared management structures) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the SWCOMMGMT-MIB::agentFactoryReset OID value, configure state conditions and alerts, and monitor any D-Link managed switch, common base across product line (shared management structures) from a single console.
OID Breakdown
Upper-level ancestors (10 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.2272 | rapidCity | RAPID-CITY |
| 1.3.6.1.4.1.2272.1 | rcMgmt | RAPID-CITY |
| 1.3.6.1.4.1.2272.1.201 | cobra | SWPRIMGMT-MIB |
| 1.3.6.1.4.1.2272.1.201.1 | privateMgmt | SWPRIMGMT-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2272.1.201.1.1 | swComMgmtMIB | SWCOMMGMT-MIB |
| 1.3.6.1.4.1.2272.1.201.1.1.1 | agentConfigInfo | SWCOMMGMT-MIB |
| 1.3.6.1.4.1.2272.1.201.1.1.1.2 | agentBasicConfig | SWCOMMGMT-MIB |
| 1.3.6.1.4.1.2272.1.201.1.1.1.2.11 | agentFactoryReset | SWCOMMGMT-MIB |