saDns2
CPI-UNIFIED-MIB ·
.1.3.6.1.4.1.30932.1.20.5.5.11.1.10
Object
Set or get the IPv4 address of the second DNS entry for the PDU.
Context
- MIB
- CPI-UNIFIED-MIB
- OID
.1.3.6.1.4.1.30932.1.20.5.5.11.1.10- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- saIpv4Entry
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 'CPI-UNIFIED-MIB' -M '/opt/observium/mibs/chatsworth:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPI-UNIFIED-MIB::saDns2'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CPI-UNIFIED-MIB' -M '/opt/observium/mibs/chatsworth:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPI-UNIFIED-MIB::saDns2.<saIpv4RowId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPI-UNIFIED-MIB' -M '/opt/observium/mibs/chatsworth:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPI-UNIFIED-MIB::saDns2'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4