tunnelIfTOS

TUNNEL-MIB · .1.3.6.1.2.1.10.131.1.1.1.1.6

Object

column r/w Integer32
The method used to set the high 6 bits (the
              
differentiated services codepoint) of the IPv4 TOS or
IPv6 Traffic Class in the outer IP header.  A value of
-1 indicates that the bits are copied from the
payload's header.  A value of -2 indicates that a
traffic conditioner is invoked and more information
may be available in a traffic conditioner MIB module.
A value between 0 and 63 inclusive indicates that the
bit field is set to the indicated value.
              
Note: instead of the name tunnelIfTOS, a better name
would have been tunnelIfDSCPMethod, but the existing
name appeared in RFC 2667 and existing objects cannot
be renamed.

Context

MIB
TUNNEL-MIB
OID
.1.3.6.1.2.1.10.131.1.1.1.1.6
Type
column
Access
readwrite
Status
current
Parent
tunnelIfEntry
Groups
2

Walk 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 'TUNNEL-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TUNNEL-MIB::tunnelIfTOS'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TUNNEL-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TUNNEL-MIB::tunnelIfTOS.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TUNNEL-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TUNNEL-MIB::tunnelIfTOS'

Syntax

Integer32

Values & Constraints

Object Constraints
range: -2-63

Conformance

Member of
Compliance refinements
Write access is not required.
Write access is not required.