mconfigDHCPEnabled
CPS-MIB ·
.1.3.6.1.4.1.3808.2.1.3
Object
scalar mandatory
r/w
Enumeration
The system will automatically obtain its IP from a DHCP server if yes, and none if no.
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 'CPS-MIB' -M '/opt/observium/mibs/cyberpower:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPS-MIB::mconfigDHCPEnabled.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPS-MIB' -M '/opt/observium/mibs/cyberpower:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPS-MIB::mconfigDHCPEnabled'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | yes |
2 | no |