Lan:autoip; Lan:gateway; Lan:dns - Rigol DS7034 User Programming Manual

Mso7000 series; ds7000 series; digital oscilloscope
Hide thumbs Also See for DS7034:
Table of Contents

Advertisement

Chapter 2 Command System

:LAN:AUToip

Syntax
:LAN:AUToip <bool>
:LAN:AUToip?
Description
Turns on or off the Auto IP configuration mode; or queries the on/off status of the
current Auto IP configuration mode.
Parameter
Name
<bool>
Remarks
When the auto IP mode is valid, disable DHCP manually. You can self-define the
gateway and DNS address for the oscilloscope.
Return
The query returns 1 or 0.
Format
Example
:LAN:AUToip OFF
:LAN:AUToip?

:LAN:GATeway

Syntax
:LAN:GATeway <string>
:LAN:GATeway?
Description
Sets or queries the default gateway.
Parameter
Name
<string>
Remarks
The format of <string> is nnn,nnn,nnn,nnn. The range of the first section of
"nnn" is from 0 to 223 (except 127), and the ranges of the other three sections of
"nnn" are from 0 to 255.
When you use this command, the IP configuration mode should be Auto IP or
Static IP mode.
Return
The query returns the current gateway in strings.
Format
Example
:LAN:GATeway 192.168.1.1
:LAN:GATeway?

:LAN:DNS

Syntax
:LAN:DNS <string>
:LAN:DNS?
Description
Sets or queries the DNS address.
Parameter
Name
<string>
Remarks
The format of <string> is nnn,nnn,nnn,nnn. The range of the first section of
"nnn" is from 0 to 223 (except 127), and the ranges of the other three sections of
"nnn" are from 0 to 255.
When you use this command, the IP configuration mode should be Auto IP or
Static IP mode.
MSO7000/DS7000 Programming Guide
Type
Range
Bool
{{1|ON}|{0|OFF}}
/*Disables the Auto IP configuration mode.*/
/*The query returns 0.*/
Type
Range
ASCII String
Refer to
Type
Range
ASCII String
Refer to
Remarks
/*Sets the default gateway to 192.168.1.1.*/
/*The query returns the current gateway.*/
Remarks
RIGOL
Default
1|ON
Default
——
Default
——
2-85

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ds7054Ds7024Ds7014Mso7034Mso7024Mso7014 ... Show all

Table of Contents