zbrNetIfDhcpClientIdType
ZEBRA-MIB ·
.1.3.6.1.4.1.10642.20.10.20.10.2.1.3
Object
column 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.
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.20.10.2.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zbrNetIfDhcpEntry
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 'ZEBRA-MIB' -M '/opt/observium/mibs/zebra:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZEBRA-MIB::zbrNetIfDhcpClientIdType'
More examples
Read one indexed 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::zbrNetIfDhcpClientIdType.<zbrNetIfDhcpInterfaceType>'
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::zbrNetIfDhcpClientIdType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | user-ascii |
2 | mac-address |
3 | user-hex |