rohcContextLastHeadersRatio
ROHC-MIB ·
.1.3.6.1.2.1.112.1.2.1.20
Object
column RohcCompressionRatio
This object indicates the compression ratio concerning the headers of the last 16 packets passing this context or concerning the headers of all packets passing this context if they are less than 16, so far. The compression is computed over all bytes of all headers that are subject to compression for the used profile.
Context
- MIB
- ROHC-MIB
- OID
.1.3.6.1.2.1.112.1.2.1.20- Type
- column
- Access
- readonly
- Status
- current
- Parent
- rohcContextEntry
- Groups
- 1
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 'ROHC-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ROHC-MIB::rohcContextLastHeadersRatio'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ROHC-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ROHC-MIB::rohcContextLastHeadersRatio.<rohcChannelID>.<rohcContextCID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ROHC-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ROHC-MIB::rohcContextLastHeadersRatio'
Syntax
- Source
- RohcCompressionRatio
- Base type
Unsigned32
Values & Constraints
No enumerated values or constraints recorded.
Conformance
Member of