dhcpServerEnable
ZHONE-COM-IP-REC-MIB ·
.1.3.6.1.4.1.5504.4.1.9.2.1.28
Object
If this field is set to TRUE ,then ipAddrDynamic has to be STATIC and if and when Dhcp server is not enabled then ipAddrdynamic can set to STATIC,PPP or DHCPCLIENT.
Context
- MIB
- ZHONE-COM-IP-REC-MIB
- OID
.1.3.6.1.4.1.5504.4.1.9.2.1.28- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ipInterfaceEntry
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 'ZHONE-COM-IP-REC-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-COM-IP-REC-MIB::dhcpServerEnable'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZHONE-COM-IP-REC-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-COM-IP-REC-MIB::dhcpServerEnable.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZHONE-COM-IP-REC-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZHONE-COM-IP-REC-MIB::dhcpServerEnable'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |