juniInetRouteStaticPref
Juniper-INET-MIB ·
.1.3.6.1.4.1.4874.2.2.82.1.1.1.1.7
Object
column Integer32
The preference of this static route. Higher values correspond to higher preference. A static route with preference of zero will never be installed as an active route.
Context
- MIB
- Juniper-INET-MIB
- OID
.1.3.6.1.4.1.4874.2.2.82.1.1.1.1.7- Type
- column
- Access
- readonly
- Status
- current
- Parent
- juniInetStaticRouteEntry
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 'Juniper-INET-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-INET-MIB::juniInetRouteStaticPref'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Juniper-INET-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-INET-MIB::juniInetRouteStaticPref.<juniInetRouteDestType>.<juniInetRouteDest>.<juniInetRoutePfxLen>.<juniInetRoutePolicy>.<juniInetRouteNextHopType>.<juniInetRouteNextHop>.<juniInetRouteStaticPref>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Juniper-INET-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Juniper-INET-MIB::juniInetRouteStaticPref'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-255