ipDhcpClientHostname

BINTEC-DYNIP-MIB · .0.52.2.1.5

Object

column r/w OctetString
The hostname to be sent in the DHCP discover and requests to the 
DHCP server. Some ISPs identify their customers via the hostname 
(DHCP Option 12) from the DHCP discover and requests. In this case 
setting the hostname enables the router (acting as a DHCP client) 
to get its network configuration.

Context

MIB
BINTEC-DYNIP-MIB
OID
.0.52.2.1.5
Type
column
Access
readwrite
Status
current
Parent
ipDhcpClientEntry

Walk 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 'BINTEC-DYNIP-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BINTEC-DYNIP-MIB::ipDhcpClientHostname'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BINTEC-DYNIP-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BINTEC-DYNIP-MIB::ipDhcpClientHostname.<ipDhcpClientIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BINTEC-DYNIP-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BINTEC-DYNIP-MIB::ipDhcpClientHostname'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 0-45