zxAnSysDnsServerType
ZTE-AN-SYS-MIB ·
.1.3.6.1.4.1.3902.1015.1.1.106.1.1.3
Object
column r/w
Enumeration
This Objects allows an NMS to specify whether the Server IP address is the primary DNS server or the secondary DNS server. Only One Primary DNS server is allowed to be configured.
Context
- MIB
- ZTE-AN-SYS-MIB
- OID
.1.3.6.1.4.1.3902.1015.1.1.106.1.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zxAnSysDnsServerEntry
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 'ZTE-AN-SYS-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-SYS-MIB::zxAnSysDnsServerType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-SYS-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-SYS-MIB::zxAnSysDnsServerType.<zxAnSysDnsServerIpAddressType>.<zxAnSysDnsServerIpAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-SYS-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-SYS-MIB::zxAnSysDnsServerType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | primary |
2 | secondary |