gs2124DnsConf
LANCOM-GS-2124-MIB ·
.1.3.6.1.4.1.2356.800.3.2124.1.1.2.5
Object
scalar r/w
Integer32
Get/Set DNS state.
Change of this value will be kept in buffer and only take effect while DHCP is enabled.
0 - manual, the DNS server is from manual setting
1 - auto, the DNS server is assigned by DHCP server.
Context
- MIB
- LANCOM-GS-2124-MIB
- OID
.1.3.6.1.4.1.2356.800.3.2124.1.1.2.5- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- gs2124IP
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 'LANCOM-GS-2124-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LANCOM-GS-2124-MIB::gs2124DnsConf.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LANCOM-GS-2124-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LANCOM-GS-2124-MIB::gs2124DnsConf'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-1