dnsPriority
LENOVO-XCC-MIB ·
.1.3.6.1.4.1.19046.11.1.3.4.2.2.20
Object
scalar mandatory
Enumeration
Tells the order host names are resolved. The options are to either first resolve with an IPv6 DNS server or to first resolve with an IPv6 DNS server.
Context
- MIB
- LENOVO-XCC-MIB
- OID
.1.3.6.1.4.1.19046.11.1.3.4.2.2.20- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- dnsConfig
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 'LENOVO-XCC-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LENOVO-XCC-MIB::dnsPriority.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LENOVO-XCC-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LENOVO-XCC-MIB::dnsPriority'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | ipv6 |
2 | ipv4 |