ipDhcpOptionContentType
BINTEC-DYNIP-MIB ·
.0.52.6.1.48
Object
column r/w
Enumeration
Content type for this DHCP option. - if set to 'string', the variable part of the DHCP option is filled with the string specified in ipDhcpOptionContentString. - if set to 'hex', the variable part of the DHCP option is filled with the hex content specified in ipDhcpOptionContentHex. - if set to 'group', the variable part of the DHCP option is filled with the collection of DHCP suboptions which share the ipDhcpOptionGroupID value specified in ipDhcpOptionContentGroupID.
Context
- MIB
- BINTEC-DYNIP-MIB
- OID
.0.52.6.1.48- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ipDhcpOptionEntry
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 'BINTEC-DYNIP-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BINTEC-DYNIP-MIB::ipDhcpOptionContentType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BINTEC-DYNIP-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BINTEC-DYNIP-MIB::ipDhcpOptionContentType.<ipDhcpOptionIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BINTEC-DYNIP-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BINTEC-DYNIP-MIB::ipDhcpOptionContentType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | string |
2 | hex |
3 | group |