System:communicate:lan[:Self]:Ip:dnspreferred; System:communicate:lan[:Self]:Ip:dnsserver - Rigol SA5000 Series Programming Manual

Vector signal analysis
Table of Contents

Advertisement

RIGOL
Chapter 2 Command System
Remarks
The format of <ip_address> is "nnn.nnn.nnn.nnn". The range for the first segment (nnn) of the address is
from 1 to 223 (except 127); and the range for the other three segments is from 0 to 255.
This command is only valid in manual DNS setting mode.
Return Format
The query returns the current backup DNS address in the format of "nnn.nnn.nnn.nnn".
Example
The following command sets the backup address of DNS to "172.16.2.2".
:SYSTem:COMMunicate:LAN:SELF:IP:DNSBack 172.16.2.2
The following query returns 172.16.2.2.
:SYSTem:COMMunicate:LAN:SELF:IP:DNSBack?

:SYSTem:COMMunicate:LAN[:SELF]:IP:DNSPreferred

:SYSTem:COMMunicate:LAN[:SELF]:IP:DNSServer

Syntax
:SYSTem:COMMunicate:LAN[:SELF]:IP:DNSPreferred <ip_address>
:SYSTem:COMMunicate:LAN[:SELF]:IP:DNSPreferred?
:SYSTem:COMMunicate:LAN[:SELF]:IP:DNSServer <ip_address>
:SYSTem:COMMunicate:LAN[:SELF]:IP:DNSServer?
Description
Sets the preferred address for the DNS.
Queries the preferred address for the DNS.
Parameter
Name
Type
Range
Default
<ip_address>
ASCII String
Refer to "Remarks"
--
Remarks
The format of <ip_address> is "nnn.nnn.nnn.nnn". The range for the first segment (nnn) of the address is
from 1 to 223 (except 127); and the range for the other three segments is from 0 to 255.
This command is only valid in manual DNS setting mode.
Return Format
The query returns the currently preferred DNS address in the format of "nnn.nnn.nnn.nnn".
Example
The following command sets the preferred DNS address to "172.16.2.2".
:SYSTem:COMMunicate:LAN:SELF:IP:DNSPreferred 172.16.2.2
:SYSTem:COMMunicate:LAN:SELF:IP:DNSServer 172.16.2.2
The following query returns 172.16.2.2.
:SYSTem:COMMunicate:LAN:SELF:IP:DNSPreferredr?
:SYSTem:COMMunicate:LAN:SELF:IP:DNSServer?
VSA Programming Guide
2-69

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rsa5065Rsa5032Rsa5065-tgRsa5032-tg

Table of Contents