juniIpRouteStaticIfIndex
Juniper-IP-MIB ·
.1.3.6.1.4.1.4874.2.2.12.1.3.2.1.6
Object
The ifIndex value which identifies the local interface through which
the next hop of this route should be reached. A value of zero means the
router should automatically determine the interface through which the
specified next-hop address is reached.
An implementation may disallow non-zero values from being configured.
Context
- MIB
- Juniper-IP-MIB
- OID
.1.3.6.1.4.1.4874.2.2.12.1.3.2.1.6- Type
- column
- Access
- readwrite
- 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::juniIpRouteStaticIfIndex'
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::juniIpRouteStaticIfIndex.<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::juniIpRouteStaticIfIndex'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647