juniAaaAddrDnsPrimary
Juniper-AAA-MIB ·
.1.3.6.1.4.1.4874.2.2.20.1.4.2.1.1
Object
The IP address of the primary DNS server to be used by remote access clients. A value of 0.0.0.0 indicates no server is configured.
Context
- MIB
- Juniper-AAA-MIB
- OID
.1.3.6.1.4.1.4874.2.2.20.1.4.2.1.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- juniAaaAddrDns
- Groups
- 4
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Juniper-AAA-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-AAA-MIB::juniAaaAddrDnsPrimary.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Juniper-AAA-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Juniper-AAA-MIB::juniAaaAddrDnsPrimary'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4