pfIfType
OPENBSD-PF-MIB ·
.1.3.6.1.4.1.30155.1.8.128.1.3
Object
column Enumeration
Denotes whether the interface is a group interface, an interface instance, or whether it's been removed or destroyed.
Context
- MIB
- OPENBSD-PF-MIB
- OID
.1.3.6.1.4.1.30155.1.8.128.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- pfIfEntry
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 'OPENBSD-PF-MIB' -M '/opt/observium/mibs/unix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPENBSD-PF-MIB::pfIfType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OPENBSD-PF-MIB' -M '/opt/observium/mibs/unix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPENBSD-PF-MIB::pfIfType.<pfIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OPENBSD-PF-MIB' -M '/opt/observium/mibs/unix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OPENBSD-PF-MIB::pfIfType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | group |
1 | instance |
2 | detached |