All MIBs › MY-INTERFACE-MIB › myIfCounterClear
myIfCounterClear
Module: MY-INTERFACE-MIB
OID (symbolic): MY-INTERFACE-MIB::myIfCounterClear
OID (numeric): 1.3.6.1.4.1.171.10.97.2.10.1.1.1.13
Node type: OBJECT-TYPE
Type: Integer32
Access: read-write
Description: Setting its to any value but 0, will clear counters of this interface. Setting its value to 0 will cause no action of the agent. and when query will always return 0.
What is myIfCounterClear?
Writing any non-zero value to this object clears this interface's traffic counters, a quick way for an admin to reset statistics before starting a fresh troubleshooting or baseline-capture session; writing 0 does nothing and reads always return 0.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.10.97.2.10.1.1.1.13 snmpwalk -v2c -c public <target> MY-INTERFACE-MIB::myIfCounterClear
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.10.97.2.10.1.1.1.13.1 snmpget -v2c -c public <target> MY-INTERFACE-MIB::myIfCounterClear.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.10.97.2.10.1.1.1.13.1 i <value>
Start monitoring D-Link managed switch (per-interface configuration) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the MY-INTERFACE-MIB::myIfCounterClear OID value, configure state conditions and alerts, and monitor any D-Link managed switch (per-interface configuration) 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.171 | d_link | DE1500-MIB |
| 1.3.6.1.4.1.171.10 | dlink_products | DES-1226G-MIB |
| 1.3.6.1.4.1.171.10.97 | switchMib | MY-SMI |
| 1.3.6.1.4.1.171.10.97.2 | myMgmt | MY-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.10.97.2.10 | myInterfaceMIB | MY-INTERFACE-MIB |
| 1.3.6.1.4.1.171.10.97.2.10.1 | myIfConfigMIBObjects | MY-INTERFACE-MIB |
| 1.3.6.1.4.1.171.10.97.2.10.1.1 | myIfTable | MY-INTERFACE-MIB |
| 1.3.6.1.4.1.171.10.97.2.10.1.1.1 | myIfEntry | MY-INTERFACE-MIB |
| 1.3.6.1.4.1.171.10.97.2.10.1.1.1.13 | myIfCounterClear | MY-INTERFACE-MIB |