hwDHCPSInterfacePoolOptionHexString
HUAWEI-DHCPS-MIB ·
h3c variant
·
.1.3.6.1.4.1.2011.5.7.2.1.7.1.4
Object
column r/w
OctetString
Hex string of an option. 1st to 16th hex strings, which are 2 bytes, 4 bytes, 6 bytes or 8 bytes, can be configured at most simultaneously. That means the format of each string must be '12', '1234', '123456' or '12345678'.
Context
- MIB
- HUAWEI-DHCPS-MIB
- OID
.1.3.6.1.4.1.2011.5.7.2.1.7.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwDHCPSInterfacePoolOptionEntry
- Groups
- 1
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 'HUAWEI-DHCPS-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DHCPS-MIB::hwDHCPSInterfacePoolOptionHexString'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-DHCPS-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DHCPS-MIB::hwDHCPSInterfacePoolOptionHexString.<ifIndex>.<hwDHCPSInterfacePoolOptionCode>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-DHCPS-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-DHCPS-MIB::hwDHCPSInterfacePoolOptionHexString'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-143
Conformance
Member of