10 ping – Black Box LRA005A-R2 User Manual

Page 225

Advertising
background image

ASYNC ROUTER AR-P, AR-5, AND SYNC ROUTER REFERENCE MANUAL

225

The possible state values for TCP sockets are as follows:

• CLOSED: the socket is not being used.

• LISTEN: Listening for incoming connections.

• SYN_SENT: Actively trying to establish connection.

• SYN_RECEIVED: Initial synchronization of the connection under way.

• ESTABLISHED: Connection has been established.

• CLOSE_WAIT: Remote shut down: waiting for the socket to close.

• FIN_WAIT_1: Socket closed, shutting down connection.

• CLOSING: Closed, then remote shutdown: awaiting ack.

• LAST_ACK: Remote shut down, then closed: awaiting ack.

• FIN_WAIT_2: Socket closed, waiting for shutdown from remote.

• TIME_WAIT: Wait after close for remote shutdown retransmission.

-s—Show per-protocol statistics. For each protocol type, a complete set of statistic counters is displayed.

This includes such counters as total number of packets sent and received, number of bad packets
received, time-outs, etc.

-r—Show the routing table. Using this option is equivalent to the route command. Refer to route in

Section 4.12, for a description of routing information and format.

-m—Show the memory statistics recorded for the network buffer pool. These statistics include amount

of free memory, number of failed memory allocations, number of memory errors, and the network
mbuf usage statistics.

4.10 ping

Send an ICMP packet to see if a remote host is alive

Syntax

ping dest_addr
ping dest_addr [packet_size]
ping -s dest_addr [packet_size] [count]

Description

The ping command uses the ICMP protocol’s mandatory ECHO_REQUEST packet to solicit an ICMP
ECHO_RESPONSE from the specified destination address. ECHO_REQUEST packets (pings) consist of
an IP and ICMP header, time stamp space, and an arbitrary number of bytes to pad out the packet. If the
dest_addr responds, ping displays a round-trip time in milliseconds for the exchange and exits. If there is
no response, ping displays the message Target did not respond.

Subcommands and protocols

ping dest_addr

dest_addr—Enter the IP address of the device where packets will be sent. Use standard dotted-quad
notation or the host name if DNS service is available.

Advertising
This manual is related to the following products: