beautypg.com

1 common network application configuration, Common network application configuration, Ping – H3C Technologies H3C SecBlade IPS Cards User Manual

Page 8

background image

1-1

1

Common Network Application Configuration

Common Network Application Configuration

This chapter describes these common network applications:

z

Ping

z

Telnet

z

SSH

Ping

For routine system maintenance, you can use the ping command to check network connectivity. You
can use the ping command to check whether a host is reachable and whether the network connection
is faulty.

The ping command works as follows:

1) The source device sends ICMP echo requests to the destination device.

2) If the network is functioning properly, the destination device sends ICMP echo replies to the source

device in response. Otherwise, the source device will display timeout or destination unreachable
error messages.

3) The source device displays the related statistics.

The ping command outputs the following information:

z

You can ping the IP address of a host.

z

If the source device receives no ICMP echo reply within the timeout time, it displays one or more
prompt messages accordingly and then the packet statistics during the ping operation. Otherwise,
it displays the number of bytes, sequence number, Time to Live (TTL), and response time of each
echo reply, and then the packet statistics during the ping operation.

The packet statistics during the ping operation include the number of packets sent, the number of echo
reply packets received, percentage of non-responded echo requests, and the minimum, average, and
maximum response time.

Perform the following step to ping a host:

To do…

Use the command…

Remarks

Check whether a host is reachable

ping

[ -Q tos | -R | -b | -c count | -f |

-i

interval | -n | -p pad | -q | -s

packet-size

| -t ttl | -v | -w timeout ]

ip-address

Optional
Applicable to IPv4 networks
Available in user view and system
view