dnsServerType
CISCO-STACK-MIB ·
.1.3.6.1.4.1.9.5.1.13.2.1.2
Object
column r/w
Enumeration
To add a new entry to the dnsServerTable, set this object to primary(2) or other(3) for an IP address which is not already in the table. The primary entry will be used first, if it is reachable. Otherwise, one of the other entries will be used. Setting one entry to primary(2) causes any previous primary entry to change to other(3). To remove an entry from the table, set this object to invalid(1).
Context
- MIB
- CISCO-STACK-MIB
- OID
.1.3.6.1.4.1.9.5.1.13.2.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- dnsServerEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'CISCO-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STACK-MIB::dnsServerType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STACK-MIB::dnsServerType.<dnsServerAddr>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-STACK-MIB::dnsServerType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | invalid |
2 | primary |
3 | other |
Conformance
Member of