All MIBs › Juniper-POLICY-MIB › juniPolicyNextIndex
juniPolicyNextIndex
Module: Juniper-POLICY-MIB
OID (symbolic): Juniper-POLICY-MIB::juniPolicyNextIndex
OID (numeric): 1.3.6.1.4.1.4874.2.2.27.1.3.1
Node type: OBJECT-TYPE
Type: Integer32
Access: read-only
Description: This scalar object returns the index of the next available row in the juniPolicyTable. This object 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 index allocation is unintended.
What is juniPolicyNextIndex?
Returns the next available row index to use when creating a new entry in juniPolicyTable, i.e. the next free policy ID. An admin (or an NMS tool) reads this before a create operation to avoid colliding with an existing policy ID; it returns 0 if read as the lexicographic successor of a GETNEXT/GETBULK, since index allocation isn't intended in that case.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.4874.2.2.27.1.3.1 snmpwalk -v2c -c public <target> Juniper-POLICY-MIB::juniPolicyNextIndex
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.4874.2.2.27.1.3.1.1 snmpget -v2c -c public <target> Juniper-POLICY-MIB::juniPolicyNextIndex.1
Start monitoring Juniper E-series router (routing/traffic policy filters, QoS classifiers) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the Juniper-POLICY-MIB::juniPolicyNextIndex OID value, configure state conditions and alerts, and monitor any Juniper E-series router (routing/traffic policy filters, QoS classifiers) from a single console.
OID Breakdown
Upper-level ancestors (10 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 |
| 1.3.6.1.4.1.4874.2.2.27 | juniPolicyMIB | Juniper-MIBs |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.4874.2.2.27.1 | juniPolicyObjects | Juniper-POLICY-MIB |
| 1.3.6.1.4.1.4874.2.2.27.1.3 | juniPolicy | Juniper-POLICY-MIB |
| 1.3.6.1.4.1.4874.2.2.27.1.3.1 | juniPolicyNextIndex | Juniper-POLICY-MIB |