agentDiffServClassRuleMatchProtocolNum
QOS-DIFFSERV-PRIVATE-MIB ·
.1.3.6.1.4.1.7244.2.7.2.3.1.15
Object
column r/w
Unsigned32
Protocol number match value for the class - only valid if the agentDiffServClassRuleMatchEntryType is set to protocol(9).
Context
- MIB
- QOS-DIFFSERV-PRIVATE-MIB
- OID
.1.3.6.1.4.1.7244.2.7.2.3.1.15- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- agentDiffServClassRuleEntry
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 'QOS-DIFFSERV-PRIVATE-MIB' -M '/opt/observium/mibs/quanta:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'QOS-DIFFSERV-PRIVATE-MIB::agentDiffServClassRuleMatchProtocolNum'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'QOS-DIFFSERV-PRIVATE-MIB' -M '/opt/observium/mibs/quanta:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'QOS-DIFFSERV-PRIVATE-MIB::agentDiffServClassRuleMatchProtocolNum.<agentDiffServClassIndex>.<agentDiffServClassRuleIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'QOS-DIFFSERV-PRIVATE-MIB' -M '/opt/observium/mibs/quanta:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'QOS-DIFFSERV-PRIVATE-MIB::agentDiffServClassRuleMatchProtocolNum'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 0-255