1 icmp overview, 2 icmp configuration, Icmp overview – Horner APG XL4 OCS HE-ETN300 User Manual

Page 29: Icmp configuration

Advertising
background image

SUP0740-07

CH.5

11/30/2009

Page 29 of 98

# 958

CHAPTER 5: INTERNET CONTROL MESSAGE PROTOCOL (ICMP)

5.1 ICMP

Overview


ICMP is used for diagnostic purposes only, to determine if another device exists on the Ethernet
network.

Using ICMP, the Ethernet Module sends Ping Echo Requests to another device, and expects the
other device to answer with Ping Echo Responses. The Ethernet Module measures the round-trip
time of each Ping Echo Request / Response exchange and puts the result (in milliseconds) into
an OCS register.

In addition, when the Ethernet Module receives a Ping Echo Request from another device, it
answers with a Ping Echo Response.

Note: Although ICMP supports other network diagnostics, the Ethernet Module only supports

Ping.

5.2 ICMP

Configuration


If ICMP protocol will be used in the application, ICMP Configuration must be performed, in
addition to the general Ethernet Module Configuration previously described in Chapter 3. To
configure ICMP protocol, use Cscape Programming Software to perform the following five steps:

1. Open the Ethernet Module Configuration dialog (Figure 3.5 [page 18]), as described in

Chapter 3.


2. Enable ICMP by checking the ICMP (Ping) checkbox in the Module Configuration dialog

(Figure 3.5).


3. Click on the Config button next to the ICMP (Ping) checkbox to open the ICMP Configuration

dialog (Figure 5.1).

Figure 5.1– ICMP Configuration Dialog


4. Set up the ICMP Configuration parameters as follows:

Ping IP Reg: Enter an OCS Register reference (such as %R200) to indicate which 32-bit
OCS register will be read to obtain the IP Address of the network device to send Ping Echo
Requests to.

Advertising
This manual is related to the following products: