System:communicate:lan[:Self]:Ip:gateway; System:communicate:lan[:Self]:Ip:submask - Rigol SA5000 Series Programming Manual

Vector signal analysis
Table of Contents

Advertisement

RIGOL

:SYSTem:COMMunicate:LAN[:SELF]:IP:GATeway

Syntax
:SYSTem:COMMunicate:LAN[:SELF]:IP:GATeway <ip_address>
:SYSTem:COMMunicate:LAN[:SELF]:IP:GATeway?
Description
Sets the default gateway.
Queries the default gateway.
Parameter
Name
<ip_address>
Remarks
The format of <ip_address> is "nnn.nnn.nnn.nnn". The range for the first segment (nnn) of the address is
from 1 to 223 (except 127); and the range for the other three segments is from 0 to 255.
This command is only valid in manual IP setting mode.
Return Format
The query returns the current default gateway in the format of "nnn.nnn.nnn.nnn".
Example
The following command sets the default gateway to "172.16.3.1".
:SYSTem:COMMunicate:LAN:SELF:IP:GATeway 172.16.3.1
The following query returns 172.16.3.1.
:SYSTem:COMMunicate:LAN:SELF:IP:GATeway?

:SYSTem:COMMunicate:LAN[:SELF]:IP:SUBMask

Syntax
:SYSTem:COMMunicate:LAN[:SELF]:IP:SUBMask<ip_address>
:SYSTem:COMMunicate:LAN[:SELF]:IP:SUBMask?
Description
Sets the subnet mask.
Queries the subnet mask.
Parameter
Name
<ip_address>
Remarks
The format of <ip_address> is "nnn.nnn.nnn.nnn". The range for the first segment (nnn) is from 0 to 255.
This command is only valid in manual IP setting mode.
Return Format
The query returns the current subnet mask in the format of "nnn.nnn.nnn.nnn".
Example
The following command sets the subnet mask to "255.255.255.0".
:SYSTem:COMMunicate:LAN:SELF:IP:SUBMask 255.255.255.0
The following query returns 255.255.255.0.
:SYSTem:COMMunicate:LAN:SELF:IP:SUBMask?
2-70
Type
ASCII String
Refer to "Remarks"
Type
ASCII String
Refer to "Remarks"
Range
Range
Chapter 2 Command System
Default
--
Default
--
VSA Programming Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rsa5065Rsa5032Rsa5065-tgRsa5032-tg

Table of Contents