All MIBs › OPENBSD-PF-MIB › pfIfIndex
pfIfIndex
Module: OPENBSD-PF-MIB
OID (symbolic): OPENBSD-PF-MIB::pfIfIndex
OID (numeric): 1.3.6.1.4.1.30155.1.8.128.1.1
Node type: OBJECT-TYPE
Type: Integer32
Access: read-only
Description: A unique value, greater than zero, for each interface. It is recommended that values are assigned contiguously starting from 1. The value for each interface sub-layer must remain constant at least from one re-initialization of the entity's network management system to the next re- initialization.
What is pfIfIndex?
A unique integer identifying each row of the pfIfTable, used as that table's SNMP index. It's a stable per-interface handle, not a meaningful metric on its own, but needed to correlate all the other pfIf* counters that belong to the same interface.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.30155.1.8.128.1.1 snmpwalk -v2c -c public <target> OPENBSD-PF-MIB::pfIfIndex
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.30155.1.8.128.1.1.1 snmpget -v2c -c public <target> OPENBSD-PF-MIB::pfIfIndex.1
Start monitoring OpenBSD firewall/router host (pf packet filter statistics) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the OPENBSD-PF-MIB::pfIfIndex OID value, configure state conditions and alerts, and monitor any OpenBSD firewall/router host (pf packet filter statistics) from a single console.
OID Breakdown
Upper-level ancestors (8 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.30155 | openBSD | OPENBSD-BASE-MIB |
| 1.3.6.1.4.1.30155.1 | pfMIBObjects | OPENBSD-BASE-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.30155.1.8 | pfInterfaces | OPENBSD-PF-MIB |
| 1.3.6.1.4.1.30155.1.8.128 | pfIfTable | OPENBSD-PF-MIB |
| 1.3.6.1.4.1.30155.1.8.128.1 | pfIfEntry | OPENBSD-PF-MIB |
| 1.3.6.1.4.1.30155.1.8.128.1.1 | pfIfIndex | OPENBSD-PF-MIB |