rcIpDhcpIpOptionLength
IPDHCP-SERVER-MIB ·
.1.3.6.1.4.1.8886.6.1.29.1.12.1.4
Object
column Integer32
The length of vendor-specified option contents. Default length is 0. When vendor-specified option contents are consisted of ASCII and hex strings, this variable indicates the byte number of option contents(omit 0x). Or else, it indicates the length of an IP address (i.e. 4 bytes).
Context
- MIB
- IPDHCP-SERVER-MIB
- OID
.1.3.6.1.4.1.8886.6.1.29.1.12.1.4- Type
- column
- Access
- readonly
- Status
- current
- Parent
- rcIpDhcpIpVendorOptEntry
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 'IPDHCP-SERVER-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IPDHCP-SERVER-MIB::rcIpDhcpIpOptionLength'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IPDHCP-SERVER-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IPDHCP-SERVER-MIB::rcIpDhcpIpOptionLength.<rcIpDhcpIpIndex>.<rcIpDhcpIpOptionCode>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IPDHCP-SERVER-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IPDHCP-SERVER-MIB::rcIpDhcpIpOptionLength'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-192