hwDhcpDomainGatewayLearn
HUAWEI-DHCP-PROXY-MIB ·
.1.3.6.1.4.1.2011.5.18.1.6.1.4
Object
column r/w
Enumeration
Indicates the function of automatically learning the relay IP addresses of the DHCP packets that belong to this domain. Data type:INTEGER Options: 1. enable(1) -enable the IP address learning function for the DHCP gateway 2. disable(2) -disable the IP address learning function for the DHCP gateway Access right: read-write Default: disable(2)
Context
- MIB
- HUAWEI-DHCP-PROXY-MIB
- OID
.1.3.6.1.4.1.2011.5.18.1.6.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwDhcpDomainEntry
Net-SNMP examples
How SNMP and these commands workWalk 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::hwDhcpDomainGatewayLearn'
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::hwDhcpDomainGatewayLearn.<hwDhcpDomainName>'
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::hwDhcpDomainGatewayLearn'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enable |
2 | disable |