hostIfMode
PACKETFRONT-DRG-MIB ·
.1.3.6.1.4.1.9303.4.3.1.4.3.1.2
Object
column r/w
Enumeration
The operational mode of the interface, e.g. DHCP, PPPoE.
Context
- MIB
- PACKETFRONT-DRG-MIB
- OID
.1.3.6.1.4.1.9303.4.3.1.4.3.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hostIfEntry
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 'PACKETFRONT-DRG-MIB' -M '/opt/observium/mibs/packetfront:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PACKETFRONT-DRG-MIB::hostIfMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PACKETFRONT-DRG-MIB' -M '/opt/observium/mibs/packetfront:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PACKETFRONT-DRG-MIB::hostIfMode.<hostIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PACKETFRONT-DRG-MIB' -M '/opt/observium/mibs/packetfront:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PACKETFRONT-DRG-MIB::hostIfMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | dhcp |
2 | static |
3 | pppoe |
4 | pppoeFixed |