dhcpHostHostname
ZHONE-COM-IP-DHCP-SERVER-MIB ·
.1.3.6.1.4.1.5504.4.1.11.14.1.2
Object
Hostname for this client. This may or may not be fully qualified with the local domain name but it is preferable to use the dhcpHostOptionDomainName option to specify the domain name. The default value for this field is an empty string.
Context
- MIB
- ZHONE-COM-IP-DHCP-SERVER-MIB
- OID
.1.3.6.1.4.1.5504.4.1.11.14.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- dhcpServerHostEntry
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 'ZHONE-COM-IP-DHCP-SERVER-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-COM-IP-DHCP-SERVER-MIB::dhcpHostHostname'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZHONE-COM-IP-DHCP-SERVER-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-COM-IP-DHCP-SERVER-MIB::dhcpHostHostname.<dhcpHostIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZHONE-COM-IP-DHCP-SERVER-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZHONE-COM-IP-DHCP-SERVER-MIB::dhcpHostHostname'
Syntax
- Source
- Zhone-TCZhoneAdminString
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..32