docsIetfQosPktClassIpTosMask
DOCS-IETF-QOS-MIB ·
.1.3.6.1.2.1.127.1.1.1.6
Object
column OctetString
The mask value is bitwise ANDed with TOS byte
in an IP packet, and this value is used for
range checking of TosLow and TosHigh.
If the referenced parameter is not present
in a classifier, this object reports the value
of 0.
The IP TOS octet as originally defined in RFC 791
has been superseded by the 6-bit Differentiated
Services Field (DSField, RFC 3260) and the 2-bit
Explicit Congestion Notification Field (ECN field,
RFC 3168). This object is defined as an 8-bit
octet per the DOCSIS Specification for packet
classification.
Context
- MIB
- DOCS-IETF-QOS-MIB
- OID
.1.3.6.1.2.1.127.1.1.1.6- Type
- column
- Access
- readonly
- Status
- current
- Parent
- docsIetfQosPktClassEntry
- 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 'DOCS-IETF-QOS-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DOCS-IETF-QOS-MIB::docsIetfQosPktClassIpTosMask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DOCS-IETF-QOS-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DOCS-IETF-QOS-MIB::docsIetfQosPktClassIpTosMask.<ifIndex>.<docsIetfQosServiceFlowId>.<docsIetfQosPktClassId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DOCS-IETF-QOS-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DOCS-IETF-QOS-MIB::docsIetfQosPktClassIpTosMask'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-1
Conformance
Member of