cmGwWanAddrDnsIpType

CM-GATEWAY-MIB · .1.3.6.1.4.1.1166.1.19.52.1.1.12.1.2

Object

This parameter indicates the IP address type of a DNS server.

Context

MIB
CM-GATEWAY-MIB
OID
.1.3.6.1.4.1.1166.1.19.52.1.1.12.1.2
Type
column
Access
readwrite
Status
current
Parent
cmGwWanDnsServerEntry

Walk 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 'CM-GATEWAY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CM-GATEWAY-MIB::cmGwWanAddrDnsIpType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CM-GATEWAY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CM-GATEWAY-MIB::cmGwWanAddrDnsIpType.<cmGwWanAddrDnsServerOrder>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CM-GATEWAY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CM-GATEWAY-MIB::cmGwWanAddrDnsIpType'

Values & Constraints

Type Values
0unknown
1ipv4
2ipv6
3ipv4z
4ipv6z
16dns
25l2vpn

Conformance

Compliance refinements
Only IPv4 address type is required to be supported. This can be
done by making this object read-only or only allowing the value
of ipv4 to be written.