juniIpRouteStaticPref
Juniper-IP-MIB ·
.1.3.6.1.4.1.4874.2.2.12.1.3.2.1.3
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-IP-MIB
- OID
.1.3.6.1.4.1.4874.2.2.12.1.3.2.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- juniIpRouteStaticEntry
- Groups
- 4
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-IP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-IP-MIB::juniIpRouteStaticPref'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Juniper-IP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-IP-MIB::juniIpRouteStaticPref.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Juniper-IP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Juniper-IP-MIB::juniIpRouteStaticPref'
Syntax
Integer32
Values & Constraints
No enumerated values or constraints recorded.