System:communicate:lan:gateway, System:communicate:lan:gateway -113 – RIGOL DP832A User Manual

Page 137

Advertising
background image

Chapter 2 Command System

RIGOL

DP800 Programming Guide

2-113

:SYSTem:COMMunicate:LAN:GATEway

Syntax

:SYSTem:COMMunicate:LAN:GATEway <gateway>
:SYSTem:COMMunicate:LAN:GATEway?

Description

Set the default gateway.
Query the current default gateway.

Parameter

Name

Type

Range

Default

<gateway>

ASCII string

Refer to the "Explanation"

None

Explanation

 This command is only available when the manual IP configuration mode is

enabled (

:SYSTem:COMMunicate:LAN:MANualip[:STATe]

).

 The format of <gateway> is nnn.nnn.nnn.nnn; the first nnn ranges from 1 to

223 (except 127), the other three range from 0 to 255.

 You are recommended to ask your network administrator for a gateway

address available.

 The new setting will only take into effect when

the

:SYSTem:COMMunicate:LAN:APPLy

command is executed to apply the

network parameter currently set after this command is send.

Return Format

The query returns the default gateway, for example, 172.16.3.1.

Example

:SYST:COMM:LAN:GATE 172.16.3.1 /*Set the default gateway*/
:SYST:COMM:LAN:GATE? /*Query the current default gateway and the

query returns 172.16.3.1*/

Related

Commands

:SYSTem:COMMunicate:LAN:MANualip[:STATe]
:SYSTem:COMMunicate:LAN:APPLy

Advertising
This manual is related to the following products: