RIGOL Chapter 2 Command System
2-164 DSA800E Programming Guide
: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
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?
:SYSTem:COMMunicate:LAN[:SELF]:IP:SUBMask
Syntax
:SYSTem:COMMunicate:LAN[:SELF]:IP:SUBMask<ip_address>
:SYSTem:COMMunicate:LAN[:SELF]:IP:SUBMask?
Description
Set the subnet mask.
Query the subnet mask.
Parameter
Explanation
The format of <ip_address> is nnn.nnn.nnn.nnn and the range of the nnn is from 0 to 255.
Return Format
The query returns the current subnet mask in nnn.nnn.nnn.nnn format.
Example
The command below sets the subnet mask to 255.255.255.0.
:SYSTem:COMMunicate:LAN:SELF:IP:SUBMask 255.255.255.0
The query below returns 255.255.255.0.
:SYSTem:COMMunicate:LAN:SELF:IP:SUBMask?