h3cDHCPSrvGlbPoolOptHexString
H3C-DHCP-SERVER-MIB ·
.1.3.6.1.4.1.2011.10.2.101.2.5.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
- H3C-DHCP-SERVER-MIB
- OID
.1.3.6.1.4.1.2011.10.2.101.2.5.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- h3cDHCPSrvGlobalPoolOptionEntry
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 'H3C-DHCP-SERVER-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-DHCP-SERVER-MIB::h3cDHCPSrvGlbPoolOptHexString'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'H3C-DHCP-SERVER-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-DHCP-SERVER-MIB::h3cDHCPSrvGlbPoolOptHexString.<h3cDHCPSrvGlobalPoolName>.<h3cDHCPSrvGlbPoolOptCode>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-DHCP-SERVER-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-DHCP-SERVER-MIB::h3cDHCPSrvGlbPoolOptHexString'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-573