diffServDSValue
NTNTECH-MTM-MIB ·
.0.3.1.2.1.3
Object
column r/w
Integer32
The value assigned to a port which designates the Differentiated Services Code Point. This is a hexidecimal value calculated from the upper six (6) bits of an eight (8) bit field in the packet's IP header (the remaining two[2] bits are unused). It is one of several methods used to determine packet type. Configuring this value requires knowledge of the users (desired) network traffic and, as such, a default value is not applicable (indicated as 00).
Context
- MIB
- NTNTECH-MTM-MIB
- OID
.0.3.1.2.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- diffServEntry
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 'NTNTECH-MTM-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NTNTECH-MTM-MIB::diffServDSValue'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NTNTECH-MTM-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NTNTECH-MTM-MIB::diffServDSValue.<ifCfgSlotIndex>.<ifCfgPortIndex>.<diffServIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NTNTECH-MTM-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NTNTECH-MTM-MIB::diffServDSValue'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-252