All MIBs › Juniper-ROUTER-MIB › juniRouterNextRouterIndex
juniRouterNextRouterIndex
Module: Juniper-ROUTER-MIB
OID (symbolic): Juniper-ROUTER-MIB::juniRouterNextRouterIndex
OID (numeric): 1.3.6.1.4.1.4874.2.2.32.1.1
Node type: OBJECT-TYPE
Type: JuniNextRouterIndex
Access: read-only
Description:
Coordinates routerIndex and juniRouterVrfIndex value allocation for entries in the juniRouterTable and juniRouterVrfTable, respectively.
A GET of this object returns the next available routerIndex value to be used to create an entry in the associated router table; or zero, if no valid routerIndex 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 routerIndex 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 juniRouterNextRouterIndex?
Returns the next available ID number to assign when creating a new router or VRF instance. Prevents ID collisions by tracking what numbers are already used. Automation scripts use this when programmatically adding new virtual routers to the system.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.4874.2.2.32.1.1 snmpwalk -v2c -c public <target> Juniper-ROUTER-MIB::juniRouterNextRouterIndex
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.4874.2.2.32.1.1.1 snmpget -v2c -c public <target> Juniper-ROUTER-MIB::juniRouterNextRouterIndex.1
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4 | private | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4.1 | enterprises | ANIROOT-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 |
| 1.3.6.1.4.1.4874.2.2.32 | juniRouterMIB | Juniper-MIBs |
| 1.3.6.1.4.1.4874.2.2.32.1 | juniRouterObjects | Juniper-ROUTER-MIB |
| 1.3.6.1.4.1.4874.2.2.32.1.1 | juniRouterNextRouterIndex | Juniper-ROUTER-MIB |