sw0657840DnsSetting
PRIVATE-SW0657840-MIB ·
signamax variant
·
.1.3.6.1.4.1.5205.2.9.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
- PRIVATE-SW0657840-MIB
- OID
.1.3.6.1.4.1.5205.2.9.1.1.2.5- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- sw0657840IP
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 'PRIVATE-SW0657840-MIB' -M '/opt/observium/mibs/signamax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PRIVATE-SW0657840-MIB::sw0657840DnsSetting.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PRIVATE-SW0657840-MIB' -M '/opt/observium/mibs/signamax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PRIVATE-SW0657840-MIB::sw0657840DnsSetting'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-1