Pressure Systems 9022 User Manual

Page 108

Advertising
background image

Pressure Systems, Inc.

NetScanner™ System (9016, 9021, & 9022) User’s Manual

www.PressureSystems.com

3 - 78

CHANGE MODULE’S IP ADDRESS RESOLUTION METHOD & RE-BOOT
(UDP/IP Command ‘psirarp’)

Purpose:

To change (toggle) the current IP address resolution state (ipaarpst) of a specified
module, and then unconditionally “re-boot” it.

Command

“psirarp ethadr
where ethadr is the Ethernet
address of the specified module
in the following special hex-digit
format
‘xx-xx-xx-xx-xx-xx’

Response

none (module re-boots)

Description: When a module receives this broadcast command, (by continuously monitoring port

7000) it responds by toggling its current ARP method to one of two states: dynamic
resolution or static resolution. Then it restarts its firmware. The result is essentially
the same as a power-up restart, in that any TCP/IP connection is lost, and the
module returns to its normal startup state. However, if it used the static resolution
method before it received this command, after the re-boot, it will not have a valid
IP address until an external network server (RARP or BOOTP) provides it with one.
However, executing the command a second time will restore it to using its original
statically-assigned IP address (after another re-boot finishes).

Just as for the “psireboot” command, the host must wait long enough for the re-boot
process to be completed before it can again request a connection to the module.

Example:

!

Reconfigure a specified module on the network so that it uses its “other” IP address
resolution method, and also re-boot it. Presumably, the host knew the module’s
current state (iparpst) as a result of a recent Network Query response from the
module.

“psirarp 00-E0-8D-00-00-01”

Response:

(None)

Advertising