RIGOL 2 Command System
2-122 MSO2000A/DS2000A Programming Guide
:LAN:GATeway
Syntax
:LAN:GATeway <string>
:LAN:GATeway?
Description
Set or query the gateway.
Parameter
Name Type Range Default
<string> ASCII string nnn,nnn,nnn,nnn --
Explanation
When setting <string>, the range of the first nnn is from 0 to 223 (except 127) and the ranges of the
other three nnn are from 0 to 255.
When using this command, the IP configuration mode should be Auto IP (refer to the
:LAN:AUToip
command) or Static IP (refer to the
:LAN:MANual command).
Return Format
The query returns the current gateway in string.
:LAN:DNS
Syntax
:LAN:DNS <string>
:LAN:DNS?
Description
Set or query the DNS address.
Parameter
Name Type Range Default
<string> ASCII string nnn,nnn,nnn,nnn --
Explanation
When setting <string>, the range of the first nnn is from 0 to 223 (except 127) and the ranges of the
other three nnn are from 0 to 255.
When using this command, the IP configuration mode should be Auto IP (refer to the
:LAN:AUToip
command) or Static IP (refer to the
:LAN:MANual command).
Return Format
The query returns the current DNS address in string.