All MIBs › HP-ICF-DHCPCLIENT-MIB › hpicfDhcpClientHostNameOption
hpicfDhcpClientHostNameOption
Module: HP-ICF-DHCPCLIENT-MIB
OID (symbolic): HP-ICF-DHCPCLIENT-MIB::hpicfDhcpClientHostNameOption
OID (numeric): 1.3.6.1.4.1.11.2.14.11.5.1.57.1.2
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: This object enables/disables DHCP option 12 that allows for sending the system's hostname in DHCP packets.
By default this object is set to be disabled.
Setting this flag to 'enabled' results in the inclusion of system hostname in DHCP packets.
What is hpicfDhcpClientHostNameOption?
This flag controls whether the device includes its system hostname in DHCP packets using DHCP option 12. Admins enable it when they want DHCP servers or DNS integration to automatically learn and register the device's hostname during the DHCP exchange. Setting hpicfDhcpClientHostNameOption to enable(1) lets a DHCP server automatically populate DNS with the switch's hostname when it obtains an address.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.11.2.14.11.5.1.57.1.2 snmpwalk -v2c -c public <target> HP-ICF-DHCPCLIENT-MIB::hpicfDhcpClientHostNameOption
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.11.2.14.11.5.1.57.1.2.1 snmpget -v2c -c public <target> HP-ICF-DHCPCLIENT-MIB::hpicfDhcpClientHostNameOption.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.11.2.14.11.5.1.57.1.2.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> hpicfDhcpClientHostNameOption.1
Start monitoring HP ProCurve/Aruba switch (management-interface DHCP client) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HP-ICF-DHCPCLIENT-MIB::hpicfDhcpClientHostNameOption OID value, configure state conditions and alerts, and monitor any HP ProCurve/Aruba switch (management-interface DHCP client) from a single console.
OID Breakdown
Upper-level ancestors (12 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.11 | hp | CLJ8500-MIB |
| 1.3.6.1.4.1.11.2 | nm | CLJ8500-MIB |
| 1.3.6.1.4.1.11.2.14 | icf | CONFIG-MIB |
| 1.3.6.1.4.1.11.2.14.11 | hpicfObjects | CONFIG-MIB |
| 1.3.6.1.4.1.11.2.14.11.5 | hpicfSwitch | CONFIG-MIB |
| 1.3.6.1.4.1.11.2.14.11.5.1 | hpSwitch | CONFIG-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.11.2.14.11.5.1.57 | hpicfDhcpClient | HP-ICF-DHCPCLIENT-MIB |
| 1.3.6.1.4.1.11.2.14.11.5.1.57.1 | hpicfDhcpClientOptions | HP-ICF-DHCPCLIENT-MIB |
| 1.3.6.1.4.1.11.2.14.11.5.1.57.1.2 | hpicfDhcpClientHostNameOption | HP-ICF-DHCPCLIENT-MIB |