ctDhcpAdminStatus
CTRON-DHCP-MIB ·
.1.3.6.1.4.1.52.4.2.2.2.3.1.2.12.2.1.1
Object
scalar mandatory
r/w
Enumeration
This object is used to enable or disable the DHCP server function for the entire device. This object must be set to enabled for the server to function on this device.
Context
- MIB
- CTRON-DHCP-MIB
- OID
.1.3.6.1.4.1.52.4.2.2.2.3.1.2.12.2.1.1- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- ctDhcpServerStats
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 'CTRON-DHCP-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CTRON-DHCP-MIB::ctDhcpAdminStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CTRON-DHCP-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CTRON-DHCP-MIB::ctDhcpAdminStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | disabled |
2 | enabled |