hwDHCPRSelectAllocateMode

HUAWEI-DHCPR-MIB · .1.3.6.1.4.1.2011.5.7.1.1.2.1.1

Object

column r/w Enumeration
Allocation mode of DHCP service.
              
global(0)   - allocation address from global 
interface(1)- allocation address from interface
relay(2)    - allocation address from dhcp server, the request is relayed to server
none(3)     - no allocation address mode
globalAndRelay(4)   - allocation address from global and relay
interfaceAndRelay(5)- allocation address from interface and relay.

Context

MIB
HUAWEI-DHCPR-MIB
OID
.1.3.6.1.4.1.2011.5.7.1.1.2.1.1
Type
column
Access
readwrite
Status
current
Parent
hwDHCPRSeletAllocateModeEntry
Groups
1

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
0global
1interface
2relay
3none
4globalAndRelay
5interfaceAndRelay

Conformance