Pressure Systems 9816 Scanner User Manual


 
Pressure Systems, Inc. 98RK-1 & 9816 User’s Manual©
Page 99 www.PressureSystems.com
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 reboots).
Description: When a NetScanner
System 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 reboot 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 reboot finishes).
Just as for the “psireboot” command, the host must wait long enough for the
reboot process to be completed before it can again address the module.
Example:
Reconfigure a specified module on the network so that it uses its “other” IP Address
Resolution method, and also reboot it. Presumably, it knew the module’s current state
(iparpst) as result of a recent Network Query response from the module.
"psirarp 12-34-56-78-90-12"
Response:
(None)