cigDhcpClientsHostName
CIG-CLIENTS-MIB ·
.1.3.6.1.4.1.6889.2.1.17.1.1.1.7
Object
column r/w
OctetString
Host name is sent by the DHCP client as Dhcp option 12. It is specifically used by part of DHCP servers (MS2000) to identify the client in the binding file (more user intuitive). This option is used as well by part of the DHCP server with the support of DHCP client (sending option 81) to update the DNS server with the new IP for specific host. The format of the string can be: 'usernameA'. The hostname shall comply to RFC 1035 naming convention with the following exceptions: a. allow digits at the start of the name. b. Do not check length constraints of 63 bytes. The default of the host name used by the DHCP client is the device host name.
Context
- MIB
- CIG-CLIENTS-MIB
- OID
.1.3.6.1.4.1.6889.2.1.17.1.1.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- cigDhcpClientsEntry
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 'CIG-CLIENTS-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CIG-CLIENTS-MIB::cigDhcpClientsHostName'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CIG-CLIENTS-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CIG-CLIENTS-MIB::cigDhcpClientsHostName.<cigDhcpClientsIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CIG-CLIENTS-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CIG-CLIENTS-MIB::cigDhcpClientsHostName'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-80