Instructions

Table Of Contents
Chapter 2 Command System RIGOL
RSA5000 Programming Guide 2-181
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?
:SYSTem:COMMunicate:LAN[:SELF]:IP:GATeway
Syntax
:SYSTem:COMMunicate:LAN[:SELF]:IP:GATeway <ip_address>
:SYSTem:COMMunicate:LAN[:SELF]:IP:GATeway?
Description
Sets the default gateway.
Queries the default gateway.
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 IP setting mode.
Return Format
The query returns the current default gateway in the format of "nnn.nnn.nnn.nnn".
Example
The following command sets the default gateway to "172.16.3.1".
:SYSTem:COMMunicate:LAN:SELF:IP:GATeway 172.16.3.1
The following query returns 172.16.3.1.
:SYSTem:COMMunicate:LAN:SELF:IP:GATeway?