All MIBs › SWCOMMGMT-MIB › agentLogClearLog
agentLogClearLog
Module: SWCOMMGMT-MIB
OID (symbolic): SWCOMMGMT-MIB::agentLogClearLog
OID (numeric): 1.3.6.1.4.1.2272.1.201.1.1.1.6.5
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: As the object is set to active, the log table will be clear. If set to normal, do nothing.
What is agentLogClearLog?
Setting this object to active(2) immediately clears the device's log table; setting it to normal(1) does nothing.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2272.1.201.1.1.1.6.5 snmpwalk -v2c -c public <target> SWCOMMGMT-MIB::agentLogClearLog
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2272.1.201.1.1.1.6.5.1 snmpget -v2c -c public <target> SWCOMMGMT-MIB::agentLogClearLog.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2272.1.201.1.1.1.6.5.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::agentLogClearLog 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.6 | agentLogConfig | SWCOMMGMT-MIB |
| 1.3.6.1.4.1.2272.1.201.1.1.1.6.5 | agentLogClearLog | SWCOMMGMT-MIB |