policyClassSetIpPrecedence
MPQOS-MIB ·
.1.3.6.1.4.1.5651.3.21.4.20.1.26
Object
column r/w
Integer32
????IP Precedence??ֵ.-1??ʾ????δ????.
Context
- MIB
- MPQOS-MIB
- OID
.1.3.6.1.4.1.5651.3.21.4.20.1.26- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- policyClassEntry
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 'MPQOS-MIB' -M '/opt/observium/mibs/maipu:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPQOS-MIB::policyClassSetIpPrecedence'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MPQOS-MIB' -M '/opt/observium/mibs/maipu:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPQOS-MIB::policyClassSetIpPrecedence.<policyClassPolicyName>.<policyClassClassName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MPQOS-MIB' -M '/opt/observium/mibs/maipu:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MPQOS-MIB::policyClassSetIpPrecedence'
Syntax
Integer32
Values & Constraints
Object Constraints
range: -1-7