hwDHCPSServiceStatus
HUAWEI-DHCPS-MIB ·
.1.3.6.1.4.1.2011.5.7.2.1.12
Object
The status of DHCP service, The default value is disabled, which mean disabled the DHCP service; the other value is enabled, which mean enable the DHCP service
Context
- MIB
- HUAWEI-DHCPS-MIB
- OID
.1.3.6.1.4.1.2011.5.7.2.1.12- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwDHCPServerMibObject
- Groups
- 1
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-DHCPS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DHCPS-MIB::hwDHCPSServiceStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-DHCPS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-DHCPS-MIB::hwDHCPSServiceStatus'
Syntax
- Source
- P-BRIDGE-MIBEnabledStatus
- Base type
Enumeration
Values & Constraints
Object Constraints
range: 0-255
Type Values
1 | enabled |
2 | disabled |
Conformance
Member of