docsIetfQosParamSetTosOrMask
DOCS-IETF-QOS-MIB ·
.1.3.6.1.2.1.127.1.2.1.18
Object
column OctetString
Specifies the OR mask for the IP TOS byte.
See the description of docsIetfQosParamSetTosAndMask
for further details.
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). Network operators SHOULD avoid
specifying values of docsIetfQosParamSetTosAndMask
and docsIetfQosParamSetTosORMask that would result
in the modification of the ECN bits.
Context
- MIB
- DOCS-IETF-QOS-MIB
- OID
.1.3.6.1.2.1.127.1.2.1.18- Type
- column
- Access
- readonly
- Status
- current
- Parent
- docsIetfQosParamSetEntry
- 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::docsIetfQosParamSetTosOrMask'
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::docsIetfQosParamSetTosOrMask.<ifIndex>.<docsIetfQosServiceFlowId>.<docsIetfQosParamSetType>'
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::docsIetfQosParamSetTosOrMask'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-1
Conformance
Member of