hpnicfDhcpServer2OptionType
HPN-ICF-DHCP4-MIB ·
.1.3.6.1.4.1.11.2.14.11.15.2.122.2.19.1.2
Object
column r/w
Enumeration
Option type.
'ascii' means using the ascii string that is defined by
hpnicfDhcpServer2OptionAscii to fill in the option.
'hex' means using the hex string that is defined by
hpnicfDhcpServer2OptionHexStr to fill in the option.
'ip' means using the IP string that is defined by
hpnicfDhcpServer2OptionIPStr to fill in the option.
Context
- MIB
- HPN-ICF-DHCP4-MIB
- OID
.1.3.6.1.4.1.11.2.14.11.15.2.122.2.19.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hpnicfDhcpServer2OptionEntry
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-DHCP4-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HPN-ICF-DHCP4-MIB::hpnicfDhcpServer2OptionType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HPN-ICF-DHCP4-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HPN-ICF-DHCP4-MIB::hpnicfDhcpServer2OptionType.<hpnicfDhcpServer2OptionGroupId>.<hpnicfDhcpServer2OptionCode>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HPN-ICF-DHCP4-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HPN-ICF-DHCP4-MIB::hpnicfDhcpServer2OptionType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | ascii |
2 | hex |
3 | ip |