es2126DnsSetting
LANCOM-ES-2126-MIB ·
.1.3.6.1.4.1.2356.800.2.2126.1.1.2.5
Object
scalar r/w
Integer32
Get/Set the source of DNS server. You can't set this OID if DHCP status is disabled. 0 - manual, the DNS server is from manual setting 1 - Auto, the DNS server is assigned by DHCP server.
Context
- MIB
- LANCOM-ES-2126-MIB
- OID
.1.3.6.1.4.1.2356.800.2.2126.1.1.2.5- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- es2126IP
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-ES-2126-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LANCOM-ES-2126-MIB::es2126DnsSetting.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LANCOM-ES-2126-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LANCOM-ES-2126-MIB::es2126DnsSetting'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-1