rcPortStatsHistoryPortStatsNextIndex
SWITCH-PORTSTATISTIC-MIB ·
.1.3.6.1.4.1.8886.6.1.7.2.2.1.2
Object
column Integer32
The index for the current Measurement Interval. This value will become the value for rcHistoryStatsIndex once the Measurement Interval is completed. The first Measurement Interval that occurs after the session is started is assigned index 1.
Context
- MIB
- SWITCH-PORTSTATISTIC-MIB
- OID
.1.3.6.1.4.1.8886.6.1.7.2.2.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- rcPortStatsEntry
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::rcPortStatsHistoryPortStatsNextIndex'
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::rcPortStatsHistoryPortStatsNextIndex.<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::rcPortStatsHistoryPortStatsNextIndex'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647