rcHistoryPortStatsIndex
SWITCH-PORTSTATISTIC-MIB ·
.1.3.6.1.4.1.8886.6.1.7.2.4.1.1
Object
column Integer32
The index for the history Measurement Interval. The first Measurement Interval that occurs after the session is started is assigned index 1. Referential integrity is necessary, i.e., the index needs to be persistent upon a reboot or restart of a device. The index is never reused while this session is active until it wraps to zero. The index value keeps increasing up to that time.Count of packets received.
Context
- MIB
- SWITCH-PORTSTATISTIC-MIB
- OID
.1.3.6.1.4.1.8886.6.1.7.2.4.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- rcHistoryPortStatsEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'SWITCH-PORTSTATISTIC-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-PORTSTATISTIC-MIB::rcHistoryPortStatsIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SWITCH-PORTSTATISTIC-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-PORTSTATISTIC-MIB::rcHistoryPortStatsIndex.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWITCH-PORTSTATISTIC-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWITCH-PORTSTATISTIC-MIB::rcHistoryPortStatsIndex'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647