Using The Ping Command; Options - Fujitsu SPARC ENTERPRISE M4000 Service Manual

Fujitsu computer hardware user manual
Hide thumbs Also See for SPARC ENTERPRISE M4000:
Table of Contents

Advertisement

2.7.5

Using the ping Command

The ping command sends ICMP ECHO_REQUEST packets to network hosts.
Depending on how the ping command is configured, the output displayed can
identify troublesome network links or nodes. The destination host is specified in the
variable hostname.
2.7.5.1

Options

TABLE 2-16
troubleshooting.
Options for
TABLE 2-16
Option
Description
hostname
The probe packet is sent to
hostname and returned.
-g
hostname
Forces the probe packet to route
through a specified gateway.
-i
interface
Designates which interface to
send and receive the probe
packet through.
Replaces host names with IP
-n
addresses.
Pings continuously in one-second
-s
intervals. Ctrl-C aborts. Upon
abort, statistics are displayed.
Displays the route the probe
-svR
packet followed in one-second
intervals.
The following example shows output for the ping -s command.
# ping -s san-ff2-17-a
PING san-ff2-17-a: 56 data bytes
64 bytes from san-ff2-17-a (10.1.67.31): icmp_seq=0. time=0.427 ms
64 bytes from san-ff2-17-a (10.1.67.31): icmp_seq=1. time=0.194 ms
^C
----san-ff2-17-a PING Statistics----
2 packets transmitted, 2 packets received, 0% packet loss
round-trip (ms)
#
2-34
SPARC Enterprise M4000/M5000 Servers Service Manual • August 2009
describes options for the ping command and how those options can help
ping
min/avg/max/stddev = 0.172/0.256/0.427/0.102
How It Can Help
Verifies that a host is active on the network.
By identifying different routes to the target host, those
individual routes can be tested for quality.
Enables a simple check of secondary network interfaces.
Used when an address is more beneficial than a host name.
Helps identify intermittent or long-duration network events.
By piping
output to a file, activity overnight can later
ping
be viewed at once.
Indicates probe packet route and number of hops.
Comparing multiple routes can identify bottlenecks.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sparc enterprise m5000

Table of Contents