hwDhcpProxyStatus
HUAWEI-DHCP-PROXY-MIB ·
.1.3.6.1.4.1.2011.5.18.1.28
Object
scalar r/w
Enumeration
Describes the current status of the DHCP proxy switch. Options: 1. enable(1) -enable DHCP proxy 2. disable(2) -disable DHCP proxy Default: disable(2) Perform the query and modify operations through get and set operations.
Context
- MIB
- HUAWEI-DHCP-PROXY-MIB
- OID
.1.3.6.1.4.1.2011.5.18.1.28- 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::hwDhcpProxyStatus.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::hwDhcpProxyStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enable |
2 | disable |