gs2124DnsServer
LANCOM-GS-2124-MIB ·
.1.3.6.1.4.1.2356.800.3.2124.1.1.2.7
Object
Get/Set the DNS server of the system.
Context
- MIB
- LANCOM-GS-2124-MIB
- OID
.1.3.6.1.4.1.2356.800.3.2124.1.1.2.7- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- gs2124IP
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 'LANCOM-GS-2124-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LANCOM-GS-2124-MIB::gs2124DnsServer.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LANCOM-GS-2124-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LANCOM-GS-2124-MIB::gs2124DnsServer'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4