System:communication:lan:ip:address, System:communication:lan:ip:auto, System:communication:lan:ip:address -122 – RIGOL DSG3000 Series User Manual

Page 142: System:communication:lan:ip:auto -122

Advertising
background image

RIGOL

Chapter 2

Command System

2-122

DSG3000 Programming Guide

:SYSTem:COMMunication:LAN:IP:ADDress

Syntax

:SYSTem:COMMunication:LAN:IP:ADDress <value>
:SYSTem:COMMunication:LAN:IP:ADDress?

Description

Set the IP address.
Query the current IP address.

Parameter

Name

Type

Range

Default

<value>

ASCII

string

The format 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

NULL

Explanation

 This command is only valid when Manual-IP configuration mode is turned on.

 You are recommended to ask your network administrator for an address

available.

Return Format

The query returns the IP address, for example, 172.16.3.199.

Example

:SYST:COMM:LAN:IP:ADD 172.16.3.199
:SYST:COMM:LAN:IP:ADD?

Related

Command

:SYSTem:COMMunication:LAN:IP:MANual

:SYSTem:COMMunication:LAN:IP:AUTO

Syntax

:SYSTem:COMMunication:LAN:IP:AUTO ON|OFF|1|0
:SYSTem:COMMunication:LAN:IP:AUTO?

Description

Turn on or off the Auto-IP configuration mode.
Query the state of the Auto-IP configuration mode.

Parameter

Name

Type

Range

Default

ON|OFF|1|0

Bool

ON|OFF|1|0

ON

Explanation

 In Auto-IP mode, the instrument acquires IP address within 169.254.0.1 and

169.254.255.254 and subnet mask 255.255.0.0 automatically based on the

current network configuration.

 When all the three IP configuration modes are "On", the priority of parameter

configuration is "DHCP", "Auto-IP" and "Manual-IP".

 The three IP configuration modes can not be all set to "Off" at the same time.

Return Format

The query returns 1 or 0.

Example

:SYST:COMM:LAN:IP:AUTO ON
:SYST:COMM:LAN:IP:AUTO?

Related

Commands

:SYSTem:COMMunication:LAN:DHCP
:SYSTem:COMMunication:LAN:IP:MANual

Advertising