hpicfDhcpClientHostNameOption
HP-ICF-DHCPCLIENT-MIB ·
.1.3.6.1.4.1.11.2.14.11.5.1.57.1.2
Object
scalar r/w
Enumeration
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.
Context
- MIB
- HP-ICF-DHCPCLIENT-MIB
- OID
.1.3.6.1.4.1.11.2.14.11.5.1.57.1.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hpicfDhcpClientOptions
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HP-ICF-DHCPCLIENT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-ICF-DHCPCLIENT-MIB::hpicfDhcpClientHostNameOption.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HP-ICF-DHCPCLIENT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HP-ICF-DHCPCLIENT-MIB::hpicfDhcpClientHostNameOption'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enable |
2 | disable |
Conformance
Member of