hwHttpEnable
HUAWEI-HTTP-MIB ·
.1.3.6.1.4.1.2011.5.25.192.1.1.1
Object
scalar r/w
Enumeration
The object indicates globally enable or disable the HTTP configuration. If the hwHttpEnable is 1, HTTP server is enabled. If the hwHttpEnable is 2, HTTP server is disabled. By default, HTTP server is enabled.
Context
- MIB
- HUAWEI-HTTP-MIB
- OID
.1.3.6.1.4.1.2011.5.25.192.1.1.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwHttpConfiguration
- 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-HTTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-HTTP-MIB::hwHttpEnable.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-HTTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-HTTP-MIB::hwHttpEnable'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enabled |
2 | disabled |
Conformance
Member of