cDhcpv4ServerClientHostName
CISCO-IETF-DHCP-SERVER-MIB ·
.1.3.6.1.4.1.9.10.102.1.4.4.1.10
Object
column OctetString
The host name (DHCP option 12) the client is configured to use, or if no host name was configured then the host name that the client supplied when requesting an address. While this object has a maximum size of 255 octets, a Fully-Qualified Domain Name (FQDN) consisting of a Host Name part and a Domain Name part is currently limited to 255 octets. Therefore, the sum of the string lengths for this object and the cDhcpv4ServerClientDomainName MUST be, in practice, less than 256 octets.
Context
- MIB
- CISCO-IETF-DHCP-SERVER-MIB
- OID
.1.3.6.1.4.1.9.10.102.1.4.4.1.10- Type
- column
- Access
- readonly
- Status
- current
- Parent
- cDhcpv4ServerClientEntry
- Groups
- 1
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 'CISCO-IETF-DHCP-SERVER-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-IETF-DHCP-SERVER-MIB::cDhcpv4ServerClientHostName'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-IETF-DHCP-SERVER-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-IETF-DHCP-SERVER-MIB::cDhcpv4ServerClientHostName.<cDhcpv4ServerClient>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-IETF-DHCP-SERVER-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-IETF-DHCP-SERVER-MIB::cDhcpv4ServerClientHostName'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-255
Conformance
Member of