SYS-MIB :: ipClearStats

MIB Reference — IPNetwork Monitor

All MIBsSYS-MIBipClearStats

ipClearStats

Module: SYS-MIB

OID (symbolic): SYS-MIB::ipClearStats

OID (numeric): 1.3.6.1.4.1.1978.2.18.3.24

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description:

When set to 'clear' all of the ip/icmp/tcp/udp/ppp/snmp statistics are cleared to zero. When read, this object should always return 'cleared' indicating that the clear operation took place. Should the operation be defered, the value will remain as 'clear' until such time as:

1/ all of the statistics have actually been zeroed, and 2/ ipClearStatsTime has been updated with the correct time.

Should an NMS read the object and receive a 'cleared' indication, the SNMP agent will set this object to 'cleared-confirmed'. This aids the NMS in determining whether or not the agent successfully received subsequent clear request.

Normal operation would be:

NMS Agent

set 'clear' --> set to 'clear,' perform clearing . read --> . 'clear' <-- . clearing complete, set to 'cleared' . read --> . 'cleared' <-- set to 'cleared-confirmed' . read --> . 'cleared-confirmed' <-- .

Rules: 1/ NMS must read 'cleared-confirmed' BEFORE attempting to set 'clear'. 2/ After setting 'clear' the NMS must read 'cleared'. then the NMS must read 'cleared-confirmed'. In this manner, if a 'clear' command was missed by the agent, the variable will still be set to either 'cleared' or 'cleared-confirmed'.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.1978.2.18.3.24
snmpwalk -v2c -c public <target> SYS-MIB::ipClearStats

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.1978.2.18.3.24.1
snmpget -v2c -c public <target> SYS-MIB::ipClearStats.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.1978.2.18.3.24.1 i <value>

OID Breakdown

Numeric OIDNameModule
1isoLANART-AGENT
1.3orgBIANCA-BRICK-PPP-MIB
1.3.6dodBIANCA-BRICK-PPP-MIB
1.3.6.1internetBIANCA-BRICK-PPP-MIB
1.3.6.1.4privateBIANCA-BRICK-PPP-MIB
1.3.6.1.4.1enterprisesANIROOT-MIB
1.3.6.1.4.1.1978ngcanSYS-MIB
1.3.6.1.4.1.1978.2tigerSYS-MIB
1.3.6.1.4.1.1978.2.18sysMIBSYS-MIB
1.3.6.1.4.1.1978.2.18.3ipSYS-MIB
1.3.6.1.4.1.1978.2.18.3.24ipClearStatsSYS-MIB