bnProConfigDnsMode
BACHMANN-BNPRO-DEVICE-CONFIG-MIB ·
.1.3.6.1.4.1.31770.10.5.1.2.2
Object
scalar r/w
Enumeration
DNS configuration mode. In automatic mode DNS servers are learned from DHCP. In manual mode the configured DNS server objects are used.
Context
- MIB
- BACHMANN-BNPRO-DEVICE-CONFIG-MIB
- OID
.1.3.6.1.4.1.31770.10.5.1.2.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- bnProConfigNetwork
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 'BACHMANN-BNPRO-DEVICE-CONFIG-MIB' -M '/opt/observium/mibs/bachmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BACHMANN-BNPRO-DEVICE-CONFIG-MIB::bnProConfigDnsMode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BACHMANN-BNPRO-DEVICE-CONFIG-MIB' -M '/opt/observium/mibs/bachmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BACHMANN-BNPRO-DEVICE-CONFIG-MIB::bnProConfigDnsMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | automatic |
2 | manual |