hwDhcpMacGateway

HUAWEI-DHCP-PROXY-MIB · .1.3.6.1.4.1.2011.5.18.1.9.1.3

Object

column r/w SNMPv2-SMIIpAddress
Indicates the gateway IP address bound to the VLAN interface in the DHCP MAC-range. 
It uses hwVlanIpAddress (primary IP address) in hwVlanInterfaceTable. 
Make sure that the IP address exists under the interface, and it can be the primary or secondary IP address of the interface. 
If the value is 0.0.0.0, it indicates that no gateway is bound to.

Context

MIB
HUAWEI-DHCP-PROXY-MIB
OID
.1.3.6.1.4.1.2011.5.18.1.9.1.3
Type
column
Access
readwrite
Status
current
Parent
hwDhcpMacGatewayEntry

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 'HUAWEI-DHCP-PROXY-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DHCP-PROXY-MIB::hwDhcpMacGateway'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-DHCP-PROXY-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DHCP-PROXY-MIB::hwDhcpMacGateway.<hwDhcpMacGatewayVlanIfIndex>.<hwDhcpMacGatewayMacName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-DHCP-PROXY-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-DHCP-PROXY-MIB::hwDhcpMacGateway'

Syntax

Source
SNMPv2-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4