All MIBs › DLINKPRIME-SYSLOG-MIB › dpSyslogClearLogBuffer
dpSyslogClearLogBuffer
Module: DLINKPRIME-SYSLOG-MIB
OID (symbolic): DLINKPRIME-SYSLOG-MIB::dpSyslogClearLogBuffer
OID (numeric): 1.3.6.1.4.1.171.28.21.1.2.1
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: This object is used to clear log messages at logging buffer when set to 'clear'. No action is taken if this object is set to 'noOp'. When read, the value 'noOp' is returned.
What is dpSyslogClearLogBuffer?
Writing clear(1) to this object purges all log messages currently held in the device's local logging buffer, while writing noOp(2) does nothing and reads always return noOp. Admins use this to reset the log buffer after reviewing its contents, freeing space for new entries. For example, after investigating a batch of logged errors, an admin sets dpSyslogClearLogBuffer to clear to start with an empty buffer going forward.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.28.21.1.2.1 snmpwalk -v2c -c public <target> DLINKPRIME-SYSLOG-MIB::dpSyslogClearLogBuffer
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.28.21.1.2.1.1 snmpget -v2c -c public <target> DLINKPRIME-SYSLOG-MIB::dpSyslogClearLogBuffer.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.28.21.1.2.1.1 i <value>
Start monitoring D-Link Prime series managed switch (syslog server config) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DLINKPRIME-SYSLOG-MIB::dpSyslogClearLogBuffer OID value, configure state conditions and alerts, and monitor any D-Link Prime series managed switch (syslog server config) from a single console.
OID Breakdown
Upper-level ancestors (8 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 |
| 1.3.6.1.4.1.171.28 | dlinkPrimeCommon | DLINK-ID-REC-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.28.21 | dlinkPrimeSyslogMIB | DLINKPRIME-SYSLOG-MIB |
| 1.3.6.1.4.1.171.28.21.1 | dpSyslogMIBObjects | DLINKPRIME-SYSLOG-MIB |
| 1.3.6.1.4.1.171.28.21.1.2 | dpSyslogLogbuffer | DLINKPRIME-SYSLOG-MIB |
| 1.3.6.1.4.1.171.28.21.1.2.1 | dpSyslogClearLogBuffer | DLINKPRIME-SYSLOG-MIB |