User manual
Chapter 2 Command System RIGOL
DSA700 Programming Guide 2-163
:SYSTem:COMMunicate:LAN[:SELF]:IP:DNSServer
Syntax
:SYSTem:COMMunicate:LAN[:SELF]:IP:DNSServer <ip_address>
:SYSTem:COMMunicate:LAN[:SELF]:IP:DNSServer?
Description
Set the DNS address.
Query the DNS address.
Parameter
Name
Type Range Default
<ip_address>
ASCII STRING Refer to Explanation --
Explanation
The format of <ip_address> is nnn.nnn.nnn.nnn; wherein, the range of the first nnn is from 1 to 223
(except 127) and the ranges of the other three nnn are from 0 to 255.
Return Format
The query returns the current DNS address in nnn.nnn.nnn.nnn format.
Example
The command below sets the DNS address to 172.16.2.2.
:SYSTem:COMMunicate:LAN:SELF:IP:DNSServer 172.16.2.2
The query below returns 172.16.2.2.
:SYSTem:COMMunicate:LAN:SELF:IP:DNSServer?
:SYSTem:COMMunicate:LAN[:SELF]:IP:GATeway
Syntax
:SYSTem:COMMunicate:LAN[:SELF]:IP:GATeway <ip_address>
:SYSTem:COMMunicate:LAN[:SELF]:IP:GATeway?
Description
Set the default gateway.
Query the default gateway.
Parameter
Name
Type Range Default
<ip_address>
ASCII STRING Refer to Explanation --
Explanation
The format of <ip_address> is nnn.nnn.nnn.nnn; wherein, the range of the first nnn is from 1 to 223
(except 127) and the ranges of the other three nnn are from 0 to 255.
Return Format
The query returns the current default gateway in nnn.nnn.nnn.nnn format.
Example
The command below sets the default gateway to 172.16.3.1.
:SYSTem:COMMunicate:LAN:SELF:IP:GATeway 172.16.3.1
The query below returns 172.16.3.1.
:SYSTem:COMMunicate:LAN:SELF:IP:GATeway?