sysConfigClearPortStats

STAND-ALONE-ETHERNET-SWITCH-MIB · .1.3.6.1.4.1.437.1.1.3.2.3

Object

scalar mandatory r/w Enumeration
Setting this object to noClear(1) results in no action.
When set to clear(2), the switch will reset all
port statistics to zero.  Port statistics are kept in
the switchPortTable, the switchPortTxStatTable, the
switchPortRxStatTable, and the switchPortTxCollTable.
          
This object always returns noClear(1) when read.

Context

MIB
STAND-ALONE-ETHERNET-SWITCH-MIB
OID
.1.3.6.1.4.1.437.1.1.3.2.3
Type
scalar
Access
readwrite
Status
mandatory
Parent
sysConfig

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'STAND-ALONE-ETHERNET-SWITCH-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'STAND-ALONE-ETHERNET-SWITCH-MIB::sysConfigClearPortStats.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'STAND-ALONE-ETHERNET-SWITCH-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'STAND-ALONE-ETHERNET-SWITCH-MIB::sysConfigClearPortStats'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1noClear
2clear