Network debug commands, Ping – send echo packet command, Ed – ethernet debug command – MagTek MICRImage User Manual

Page 46: Tc – set file timer/file counter command

Advertising
background image

MICRImage Check Reader


38

NETWORK DEBUG COMMANDS

PING – Send ECHO Packet Command

The PING command allows the user to check on the Ethernet or Modem connection by having the
MICRImage send a number of ECHO packets to the FTP server and measure the time required for a
response back.

PING<CR>

The MICRImage responds:

Pinging FTPSRV with 64 bytes of data
Reply rcvd from [192.11.12.13]: time=3ms.
Reply rcvd from [192.11.12.13]: time=2ms.
Reply rcvd from [192.11.12.13]: time=1ms.
Reply rcvd from [192.11.12.13]: time=2ms.
Packets: Sent 4, Rcvd 4

Optionally you can specify the IP address in the command. For example:

PING 192.12.11.123<CR>

ED – Ethernet Debug Command

Provides information about the Network parameters currently being used by the MICRImage. This is
especially useful when verifying the dynamic configuration using DHCP. Also can provide debug trace
for further troubleshooting. The list of ED commands is as follows:

ED<CR>

OUTPUT NETWORK INFO

ED1<CR>

ENABLES FTP DEBUG MESSAGES

ED2<CR>

ENABLES PPP DEBUG MESSAGES

ED3<CR>

ENABLES BOTH FTP AND PPP DEBUG


For example, the MICRImage responds to ED<CR> with:

Link detected.
CHKSCN -> MAC=001A10000002
CHKSCN -> IP addr=192. 37. 11.220, Subnet mask=255.255.255.0
ROUTER -> IP addr=192. 37. 11. 70, Subnet mask=255.255.255.0
FTPSRV -> IP addr=192. 37. 12.205, Subnet mask=255.255.255.0
DHCPSV -> IP addr=192. 37. 11. 20

Advertising