diffServDSMask
NTNTECH-MTM-MIB ·
.0.3.1.2.1.4
Object
column r/w
Integer32
The value assigned indicates which six (6) bits of the DSCP will be utilized in considering the packets DSCP type. Default is 252, indicating that all of the DSCP's upper six bits will be used in calculating the packet's DS value.
Context
- MIB
- NTNTECH-MTM-MIB
- OID
.0.3.1.2.1.4- 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::diffServDSMask'
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::diffServDSMask.<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::diffServDSMask'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-252