zbrDhcpClientIdType

ZEBRA-MIB · .1.3.6.1.4.1.10642.20.10.10.7.2

Object

scalar r/w Enumeration
type of CID to use in DHCP request.
(1)user-ascii: ascii character string.
(2)mac-address: uses the hardware mac addresses, Prefix and Suffix fields are
      ignored.
(3)user-hex: user string made up of hexadecimal number and letters characters
      where two characters represent 1 byte.
(255)ifSpecified: not a valid set value.  Returned if the interfaces are not
      set to the same value (see ifdhcpCidTable).
Maximum length of CID is 60 bytes.  For user type it is made up of the Prefix
      string + Suffix string.  If the combined length is too big the Suffix
      will be truncated to fix the length.

Context

MIB
ZEBRA-MIB
OID
.1.3.6.1.4.1.10642.20.10.10.7.2
Type
scalar
Access
readwrite
Status
current
Parent
zbrNetDhcp

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZEBRA-MIB' -M '/opt/observium/mibs/zebra:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZEBRA-MIB::zbrDhcpClientIdType.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZEBRA-MIB' -M '/opt/observium/mibs/zebra:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZEBRA-MIB::zbrDhcpClientIdType'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1user-ascii
2mac-address
3user-hex
255ifSpecified