All MIBs › Juniper-IP-TUNNEL-MIB › juniIpTunnelNextIfIndex
juniIpTunnelNextIfIndex
Module: Juniper-IP-TUNNEL-MIB
OID (symbolic): Juniper-IP-TUNNEL-MIB::juniIpTunnelNextIfIndex
OID (numeric): 1.3.6.1.4.1.4874.2.2.51.1.1
Node type: OBJECT-TYPE
Type: JuniNextIfIndex
Access: read-only
Description: Coordinate ifIndex value allocation for entries in juniIpTunnelIfTable.
A GET of this object returns the next available ifIndex value to be used to create an entry in the associated interface table; or zero, if no valid ifIndex value is available. This object also returns a value of zero when it is the lexicographic successor of a varbind presented in an SNMP GETNEXT or GETBULK request, for which circumstance it is assumed that ifIndex allocation is unintended.
Successive GETs will typically return different values, thus avoiding collisions among cooperating management clients seeking to create table entries simultaneously.
What is juniIpTunnelNextIfIndex?
Returns the next available ifIndex value a management station should use when creating a new entry in the IP tunnel interface table, or zero if none is available. Because successive GETs typically return different values, admins and scripts use this object to avoid two management clients colliding when both try to provision a new tunnel interface at the same time. A script provisioning a new GRE tunnel would first GET juniIpTunnelNextIfIndex, then use the returned value, say 74, as the juniIpTunnelIfIndex for the new row it creates.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.4874.2.2.51.1.1 snmpwalk -v2c -c public <target> Juniper-IP-TUNNEL-MIB::juniIpTunnelNextIfIndex
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.4874.2.2.51.1.1.1 snmpget -v2c -c public <target> Juniper-IP-TUNNEL-MIB::juniIpTunnelNextIfIndex.1
Start monitoring Juniper Networks E-series router (GRE/IP-in-IP tunnel interfaces) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the Juniper-IP-TUNNEL-MIB::juniIpTunnelNextIfIndex OID value, configure state conditions and alerts, and monitor any Juniper Networks E-series router (GRE/IP-in-IP tunnel interfaces) from a single console.
OID Breakdown
Upper-level ancestors (9 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.4874 | juniperUni | Juniper-UNI-SMI |
| 1.3.6.1.4.1.4874.2 | juniperUniMibs | Juniper-UNI-SMI |
| 1.3.6.1.4.1.4874.2.2 | juniMibs | Juniper-MIBs |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.4874.2.2.51 | juniIpTunnelMIB | Juniper-IP-TUNNEL-MIB |
| 1.3.6.1.4.1.4874.2.2.51.1 | juniIpTunnelInterfaceObjects | Juniper-IP-TUNNEL-MIB |
| 1.3.6.1.4.1.4874.2.2.51.1.1 | juniIpTunnelNextIfIndex | Juniper-IP-TUNNEL-MIB |