hh3cDhcpServer2PoolGatewayIP

HH3C-DHCP4-MIB · .1.3.6.1.4.1.25506.2.122.2.1.1.15

Object

column r/w OctetString
Gateway IP addresses for DHCP clients.
              
IP addresses are space separated and the leading
or trailing space will be trimmed.
              
Since at most 8 gateway addresses can be configured
for a pool, a string is defined to get or configure
8 IP at a time.
              
If the object is set with a zero-length string, the
configuration of the gateway address is removed.

Context

MIB
HH3C-DHCP4-MIB
OID
.1.3.6.1.4.1.25506.2.122.2.1.1.15
Type
column
Access
readwrite
Status
current
Parent
hh3cDhcpServer2PoolEntry

Walk 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::hh3cDhcpServer2PoolGatewayIP'
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::hh3cDhcpServer2PoolGatewayIP.<hh3cDhcpServer2PoolIndex>'
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::hh3cDhcpServer2PoolGatewayIP'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 0-127