nndnsServerEntryType
SYSTEM-MIB ·
.1.3.6.1.4.1.562.73.1.1.1.1.2.2.1.1
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 that 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
- SYSTEM-MIB
- OID
.1.3.6.1.4.1.562.73.1.1.1.1.2.2.1.1- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- nndnsServerEntry
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 'SYSTEM-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SYSTEM-MIB::nndnsServerEntryType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SYSTEM-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SYSTEM-MIB::nndnsServerEntryType.<nndnsServerAddr>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SYSTEM-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SYSTEM-MIB::nndnsServerEntryType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | invalid |
2 | primary |
3 | other |