hostIfDhcpClientID
PACKETFRONT-DRG-MIB ·
.1.3.6.1.4.1.9303.4.3.1.4.3.1.10
Object
column r/w
OctetString
Setting this object causes the system to use a proprietary client identifier to identify itself to the DHCP server. By default the productMacAddress value of the device is used. This object thus allows the definition of the DHCP option 61 value.
Context
- MIB
- PACKETFRONT-DRG-MIB
- OID
.1.3.6.1.4.1.9303.4.3.1.4.3.1.10- 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::hostIfDhcpClientID'
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::hostIfDhcpClientID.<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::hostIfDhcpClientID'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-32