mplsVpnVrfRouteTos

MPLS-VPN-MIB · juniper variant · .1.3.6.1.3.118.1.4.1.1.5

Object

The IP TOS Field is used to specify the policy to
be applied to this route.  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
MPLS-VPN-MIB
OID
.1.3.6.1.3.118.1.4.1.1.5
Type
column
Access
noaccess
Status
current
Parent
mplsVpnVrfRouteEntry

Walk 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 'MPLS-VPN-MIB' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPLS-VPN-MIB::mplsVpnVrfRouteTos'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MPLS-VPN-MIB' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPLS-VPN-MIB::mplsVpnVrfRouteTos.<mplsVpnVrfName>.<mplsVpnVrfRouteDest>.<mplsVpnVrfRouteMask>.<mplsVpnVrfRouteTos>.<mplsVpnVrfRouteNextHop>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MPLS-VPN-MIB' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MPLS-VPN-MIB::mplsVpnVrfRouteTos'

Syntax

Source
SNMPv2-SMIUnsigned32
Base type
Unsigned32

Values & Constraints

Type Constraints
range: 0..4294967295