getIpmode
DAHUA-SNMP-MIB ·
.1.3.6.1.4.1.1004849.2.2.2.1
Object
scalar r/w
Enumeration
The mode of getting IP, value: 0=static, 1=DHCP.
Context
- MIB
- DAHUA-SNMP-MIB
- OID
.1.3.6.1.4.1.1004849.2.2.2.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- tcpIpInfo
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 'DAHUA-SNMP-MIB' -M '/opt/observium/mibs/dahua:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DAHUA-SNMP-MIB::getIpmode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DAHUA-SNMP-MIB' -M '/opt/observium/mibs/dahua:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DAHUA-SNMP-MIB::getIpmode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | static |
1 | dhcp |