hwDhcpRelayInterfaceRelayAgent

HUAWEI-DHCP-PROXY-MIB · .1.3.6.1.4.1.2011.5.18.1.35

Object

scalar r/w Enumeration
Configures or queries the filling mode of the GIADDR field of the current DHCP-relay upstream packet.
Options: 
1. receive(1) -indicates that in the DHCP packet sent from the DHCP relay to the server, 
               the gateway IP address is set to the IP address of the Rx interface (user-side interface).
            
2. send(2)    -indicates that in the DHCP packet sent from the DHCP relay to the server, 
               the gateway IP address is set to the IP address of the Tx interface (network-side interface).
Default: receive(1)

Context

MIB
HUAWEI-DHCP-PROXY-MIB
OID
.1.3.6.1.4.1.2011.5.18.1.35
Type
scalar
Access
readwrite
Status
current
Parent
hwDhcpMibObject

Scalars have one instance, identified by the .0 suffix.

Read the scalar 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::hwDhcpRelayInterfaceRelayAgent.0'
More examples
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::hwDhcpRelayInterfaceRelayAgent'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1receive
2send