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