All MIBs › PLAINTREE-SWITCH-MIB › clearStatistics
clearStatistics
Module: PLAINTREE-SWITCH-MIB
OID (symbolic): PLAINTREE-SWITCH-MIB::clearStatistics
OID (numeric): 1.3.6.1.4.1.295.3.2.1.1.1.13
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Setting this variable to TRUE (1) clears the traffic statistics accumulators in the switch. Setting this variable to any other value has no effect. The variable always returns 0 when read.
What is clearStatistics?
Setting this to 1 zeroes out all of the switch's traffic statistics counters, letting an admin get a clean baseline before starting a test; it always reads back as 0.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.295.3.2.1.1.1.13 snmpwalk -v2c -c public <target> PLAINTREE-SWITCH-MIB::clearStatistics
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.295.3.2.1.1.1.13.1 snmpget -v2c -c public <target> PLAINTREE-SWITCH-MIB::clearStatistics.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.295.3.2.1.1.1.13.1 i <value>
Start monitoring Plaintree Systems Ethernet switch with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the PLAINTREE-SWITCH-MIB::clearStatistics OID value, configure state conditions and alerts, and monitor any Plaintree Systems Ethernet switch from a single console.
OID Breakdown
Upper-level ancestors (6 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 |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.295 | vendor | PLAINTREE-SWITCH-MIB |
| 1.3.6.1.4.1.295.3 | switch | PLAINTREE-SWITCH-MIB |
| 1.3.6.1.4.1.295.3.2 | switchSoftware | PLAINTREE-SWITCH-MIB |
| 1.3.6.1.4.1.295.3.2.1 | switchInfo | PLAINTREE-SWITCH-MIB |
| 1.3.6.1.4.1.295.3.2.1.1 | switchBasicTable | PLAINTREE-SWITCH-MIB |
| 1.3.6.1.4.1.295.3.2.1.1.1 | switchBasicEntry | PLAINTREE-SWITCH-MIB |
| 1.3.6.1.4.1.295.3.2.1.1.1.13 | clearStatistics | PLAINTREE-SWITCH-MIB |