hpnicfDHCPROption82IfUsrDefString
HPN-ICF-DHCPRELAY-MIB ·
.1.3.6.1.4.1.11.2.14.11.15.2.58.1.8.3.1.5
Object
column r/w
OctetString
The string defined by user to fill in the option 82 verbose format. If the value of hpnicfDHCPROption82IfFormat is 'normal', or the value of hpnicfDHCPROption82IfNodeType is 'mac' or 'sysname', it is set with a null string automatically and can not be modified by user. It must be set with a non-zero length string when the value of hpnicfDHCPROption82IfNodeType is set with 'userdefine'.
Context
- MIB
- HPN-ICF-DHCPRELAY-MIB
- OID
.1.3.6.1.4.1.11.2.14.11.15.2.58.1.8.3.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hpnicfDHCPRConfigOption82IfEntry
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 'HPN-ICF-DHCPRELAY-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HPN-ICF-DHCPRELAY-MIB::hpnicfDHCPROption82IfUsrDefString'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HPN-ICF-DHCPRELAY-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HPN-ICF-DHCPRELAY-MIB::hpnicfDHCPROption82IfUsrDefString.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HPN-ICF-DHCPRELAY-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HPN-ICF-DHCPRELAY-MIB::hpnicfDHCPROption82IfUsrDefString'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-256