agentDiffServClassRuleMatchIpTosBits
GSM7312-QOS-DIFFSERV-PRIVATE-MIB ·
.1.3.6.1.4.1.4526.1.6.3.4.2.3.1.13
Object
column r/w
OctetString
IP TOS bits match value for the class - only valid if the agentDiffServClassRuleMatchEntryType is set to iptos(8). The TOS bits are defined as all eight bits of the Service Type octet in the IPv4 header.
Context
- MIB
- GSM7312-QOS-DIFFSERV-PRIVATE-MIB
- OID
.1.3.6.1.4.1.4526.1.6.3.4.2.3.1.13- 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 'GSM7312-QOS-DIFFSERV-PRIVATE-MIB' -M '/opt/observium/mibs/netgear:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'GSM7312-QOS-DIFFSERV-PRIVATE-MIB::agentDiffServClassRuleMatchIpTosBits'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'GSM7312-QOS-DIFFSERV-PRIVATE-MIB' -M '/opt/observium/mibs/netgear:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'GSM7312-QOS-DIFFSERV-PRIVATE-MIB::agentDiffServClassRuleMatchIpTosBits.<agentDiffServClassIndex>.<agentDiffServClassRuleIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'GSM7312-QOS-DIFFSERV-PRIVATE-MIB' -M '/opt/observium/mibs/netgear:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'GSM7312-QOS-DIFFSERV-PRIVATE-MIB::agentDiffServClassRuleMatchIpTosBits'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-1