docsIetfQosPktClassIpProtocol
DOCS-IETF-QOS-MIB ·
.1.3.6.1.2.1.127.1.1.1.7
Object
column Integer32
This object indicates the value of the IP
Protocol field required for IP packets to match
this rule.
The value 256 matches traffic with any IP Protocol
value. The value 257 by convention matches both TCP
and UDP.
If the referenced parameter is not present
in a classifier, this object reports the value
of 258.
Context
- MIB
- DOCS-IETF-QOS-MIB
- OID
.1.3.6.1.2.1.127.1.1.1.7- 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::docsIetfQosPktClassIpProtocol'
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::docsIetfQosPktClassIpProtocol.<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::docsIetfQosPktClassIpProtocol'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-258
Conformance
Member of