hh3cDhcpServer2OptionIPStr
HH3C-DHCP4-MIB ·
.1.3.6.1.4.1.25506.2.122.2.19.1.5
Object
column r/w
OctetString
IP string of an option.
IP addresses are space separated and the leading or trailing space
will be trimmed.
1 to 8 IP addresses can be configured simultaneously.
If hh3cDhcpServer2OptionType is set with 'ip', this object must be
set with a non-zero length string that must contain at least one IP
address.
Context
- MIB
- HH3C-DHCP4-MIB
- OID
.1.3.6.1.4.1.25506.2.122.2.19.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hh3cDhcpServer2OptionEntry
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::hh3cDhcpServer2OptionIPStr'
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::hh3cDhcpServer2OptionIPStr.<hh3cDhcpServer2OptionGroupId>.<hh3cDhcpServer2OptionCode>'
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::hh3cDhcpServer2OptionIPStr'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-127