myipCidrRouteTos
DES7200-ROUTE-MIB ·
.1.3.6.1.4.1.171.10.97.2.20.5.1.1.3
Object
column SNMPv2-SMIInteger32
The policy specifier is the IP TOS Field. The encoding
of IP TOS is as specified by the following convention.
Zero indicates the default path if no more specific
policy applies.
+-----+-----+-----+-----+-----+-----+-----+-----+
| | | |
| PRECEDENCE | TYPE OF SERVICE | 0 |
| | | |
+-----+-----+-----+-----+-----+-----+-----+-----+
IP TOS IP TOS
Field Policy Field Policy
Contents Code Contents Code
0 0 0 0 ==> 0 0 0 0 1 ==> 2
0 0 1 0 ==> 4 0 0 1 1 ==> 6
0 1 0 0 ==> 8 0 1 0 1 ==> 10
0 1 1 0 ==> 12 0 1 1 1 ==> 14
1 0 0 0 ==> 16 1 0 0 1 ==> 18
1 0 1 0 ==> 20 1 0 1 1 ==> 22
1 1 0 0 ==> 24 1 1 0 1 ==> 26
1 1 1 0 ==> 28 1 1 1 1 ==> 30
Context
- MIB
- DES7200-ROUTE-MIB
- OID
.1.3.6.1.4.1.171.10.97.2.20.5.1.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- myipCidrRouteEntry
- 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 'DES7200-ROUTE-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES7200-ROUTE-MIB::myipCidrRouteTos'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DES7200-ROUTE-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES7200-ROUTE-MIB::myipCidrRouteTos.<myipCidrRouteDest>.<myipCidrRouteMask>.<myipCidrRouteTos>.<myipCidrRouteNextHop>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DES7200-ROUTE-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DES7200-ROUTE-MIB::myipCidrRouteTos'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647
Conformance
Member of