Instructions

Table Of Contents
RIGOL Chapter 2 Command System
2-182 RSA5000 Programming Guide
:SYSTem:COMMunicate:LAN[:SELF]:IP:SUBMask
Syntax
:SYSTem:COMMunicate:LAN[:SELF]:IP:SUBMask<ip_address>
:SYSTem:COMMunicate:LAN[:SELF]:IP:SUBMask?
Description
Sets the subnet mask.
Queries the subnet mask.
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) is from 0 to 255.
This command is only valid in manual IP setting mode.
Return Format
The query returns the current subnet mask in the format of "nnn.nnn.nnn.nnn".
Example
The following command sets the subnet mask to "255.255.255.0".
:SYSTem:COMMunicate:LAN:SELF:IP:SUBMask 255.255.255.0
The following query returns 255.255.255.0.
:SYSTem:COMMunicate:LAN:SELF:IP:SUBMask?
:SYSTem:COMMunicate:LAN[:SELF]:MANuip:STATe
Syntax
:SYSTem:COMMunicate:LAN[:SELF]:MANuip:STATe OFF|ON|0|1
:SYSTem:COMMunicate:LAN[:SELF]:MANuip:STATe?
Description
Enables or disables the manual IP setting mode.
Queries the status of the manual IP setting mode.
Parameter
Name
Type
Range
Default
——
Bool
OFF|ON|0|1
OFF|0
Remarks
The analyzer attempts to acquire the IP address configuration according to the sequence of DHCP, Auto IP,
and Manual IP. These three modes cannot be disabled at the same time.
ON|1: enables the manual IP mode.
OFF|0: disables the manual IP mode and selects the DHCP mode.
Return Format
The query returns 0 or 1.
Example
The following command enables the manual IP setting mode.
:SYSTem:COMMunicate:LAN:SELF:MANuip:STATe ON or :SYSTem:COMMunicate:LAN:SELF:MANuip:STATe