portHistPreviousSampleIndex
ECS4810-12M-MIB ·
.1.3.6.1.4.1.259.10.1.11.1.2.8.3.1.2
Object
column Integer32
An index that uniquely identifies the particular sample this entry represents among all samples associated with the same portHistControlEntry. This index starts at 1 and increases by one as each new sample is taken.
Context
- MIB
- ECS4810-12M-MIB
- OID
.1.3.6.1.4.1.259.10.1.11.1.2.8.3.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- portHistPreviousEntry
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 'ECS4810-12M-MIB' -M '/opt/observium/mibs/edgecore:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ECS4810-12M-MIB::portHistPreviousSampleIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ECS4810-12M-MIB' -M '/opt/observium/mibs/edgecore:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ECS4810-12M-MIB::portHistPreviousSampleIndex.<portHistPreviousIndex>.<portHistPreviousSampleIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ECS4810-12M-MIB' -M '/opt/observium/mibs/edgecore:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ECS4810-12M-MIB::portHistPreviousSampleIndex'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-2147483647