RIGOL 2 Command System
2-126 DS2000E Programming Guide
:LAN:SMASk
Syntax
:LAN:SMASk <string>
:LAN:SMASk?
Description
Set or query the subnet mask.
Parameter
Name Type Range Default
<string> ASCII string Refer to Explanation --
Explanation
The format of <string> is nnn,nnn,nnn,nnn. Wherein, the range of the nnn is from 0 to 255.
When you use this command, the IP configuration mode should be Static IP (refer to
the
:LAN:MANual command), and the DHCP and Auto IP are disabled.
Return Format
The query returns the current subnet mask in string.
:LAN:STATus?
Syntax
:LAN:STATus?
Description
Query the current status of the network configuration.
Return Format
The query returns UNLINK, INIT, IPCONFLICT, CONFIGURED, or DHCPFAILED.
UNLINK: the network is not connected.
INIT: the IP address is being acquired.
IPCONFLICT: the IP address conflicts with each other.
CONFIGURED: the network configuration succeeds.
DHCPFAILED: the DHCP configuration fails.