hwDhcpOption82Status
HUAWEI-DHCP-PROXY-MIB ·
.1.3.6.1.4.1.2011.5.18.1.16
Object
scalar r/w
Enumeration
Indicates the status of the global DHCP Option82 switch. Options: 1. enable(1) -indicates adding a vendor tag to or deleting it from the DHCP packet on the device. 2. disable(2) -indicates not adding a vendor tag to or deleting it from the DHCP packet on the device. 3. forward(3) -indicates not processing the vendor tag of the DHCP packet. In this case, the packet is transparently transmitted. 4. rebuild(4) -indicates rebuild the vendor tag from the ONU device,to meet the TR-156 needs. Default: disable(2)
Context
- MIB
- HUAWEI-DHCP-PROXY-MIB
- OID
.1.3.6.1.4.1.2011.5.18.1.16- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwDhcpMibObject
Net-SNMP examples
How SNMP and these commands workScalars 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::hwDhcpOption82Status.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::hwDhcpOption82Status'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enable |
2 | disable |
3 | forward |
4 | rebuild |