swL3RelayDnsPrimaryServer
DGS3426P-L3MGMT-MIB ·
.1.3.6.1.4.1.171.11.70.7.3.3.2.2
Object
This object indicates the address of the primary DNS server.
Context
- MIB
- DGS3426P-L3MGMT-MIB
- OID
.1.3.6.1.4.1.171.11.70.7.3.3.2.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- swL3RelayDnsMgmt
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 'DGS3426P-L3MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DGS3426P-L3MGMT-MIB::swL3RelayDnsPrimaryServer.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DGS3426P-L3MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DGS3426P-L3MGMT-MIB::swL3RelayDnsPrimaryServer'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4