hwDhcpRelayServerMode

HUAWEI-DHCP-PROXY-MIB · .1.3.6.1.4.1.2011.5.18.1.23

Object

scalar r/w Enumeration
Configures the working mode of the DHCP server.
Options: 
1. shareload(1) -indicates the load balancing mode. 
                 In this mode, the system forwards 
                 all DHCP packets from the user to 
                 all servers in the DHCP server group.
2. backup(2)    -indicates the backup mode. 
                 In this mode, the system forwards packets 
                 from the user to only the primary server 
                 in the DHCP server group. When the primary 
                 server is disconnected, the packets are 
                 forwarded to the secondary server.
Default: shareload(1)

Context

MIB
HUAWEI-DHCP-PROXY-MIB
OID
.1.3.6.1.4.1.2011.5.18.1.23
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::hwDhcpRelayServerMode.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::hwDhcpRelayServerMode'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1shareload
2backup