Eth: ethernet status and parameters, Function, Command format – Spectra Precision ProFlex 800 Reference Manual User Manual
Page 564: Response format, Example, See also

550
Query Command Library
ETH: Ethernet Status and Parameters
Function
This command is used to read the current status of the
Ethernet port as well as all the parameters relevant to this
port.
Command Format
Syntax
$PASHQ,ETH[*cc]
Response Format
Syntax
$PASHR,ETH,c1,s2,s3,s4,DHP=s5,ADD=s6,MSK=s7,GTW=s8,DN1=s9,DN2
=s10*cc
Parameters
Parameters s6, s7, s8, s9, s10 are the Ethernet parameters
used when the DHCP mode is disabled. In that case, s4=s6.
Example
$PASHQ,ETH
$PASHR,ETH,I,ON,02:03:04:85:06:07,10.20.2.74,DHP=1,ADD=10.20.2.28,
MSK=255.255.255.0,GTW=10.20.2.1,DN1=134.20.2.16,DN2=134.20.2.3*57
See also
$PASHS,ETH,PAR
$PASHS,ETH
Parameter
Description
Range
c1
Ethernet port (TCP/IP server)
I
s2
Ethernet status
OFF, ON
s3
MAC address (xx:xx:xx:xx:xx:xx)
17 characters
s4
Current IP address (=s6 when DHCP
disabled)
0.0.0.0-255.255.255.25
DHP=s5
DHCP mode (0: disabled; 1: enabled) 0, 1
ADD=s6
Static IP address assigned to the
receiver when DHCP is disabled
0.0.0.0-255.255.255.255
MSK=s7
Sub-network mask
0.0.0.0-255.255.255.255
GTW=s8
Gateway IP address
0.0.0.0-255.255.255.255
DN1=s9
DNS 1 IP address
0.0.0.0-255.255.255.255
DN2=s10
DNS 2 IP address
0.0.0.0-255.255.255.255
*cc
Checksum
*00-*FF