rcIpDhcpIpOptionContents

IPDHCP-SERVER-MIB · .1.3.6.1.4.1.8886.6.1.29.1.12.1.3

Object

column r/w OctetString
The contents of vendor-specified option, which may consist of an ASCII string, 
a HEX string or an IP address. The default value is ASCII string. 
Network administrator can change this variable's value through SET operation. 
When implement SET, a specified criteria which was depicted as follows should be
conformed.
Vendor-specified option contents consisted of a hex string should have a pre-0x 
with it. For instance, administrator can set contents as fafb by inputting '0xfafb',
and no space amid the string permitted.
For ASCII string, administrator can input the string directly. E.g, user can set 
the option contents as test by input 'test' in the column, then perform SET.
As regards ip address, it's required to input '0# 0x14 0x20 0x20 0x30' in order to
set contents as '20.32.32.48'.

Context

MIB
IPDHCP-SERVER-MIB
OID
.1.3.6.1.4.1.8886.6.1.29.1.12.1.3
Type
column
Access
readwrite
Status
current
Parent
rcIpDhcpIpVendorOptEntry

Walk 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::rcIpDhcpIpOptionContents'
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::rcIpDhcpIpOptionContents.<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::rcIpDhcpIpOptionContents'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 1-192