Download Netra 210 Server System Administration Guide

Transcript
Options
TABLE 3-13 describes options for the ping command and how those options can help
troubleshoot the Netra 210 server.
TABLE 3-13
Options for ping
Option
Description
How It Can Help
hostname
The probe packet is sent to
hostname and returned.
Verifies that a host is active on the network.
-g gateway
Forces the probe packet to
route through a specified
gateway.
By identifying different routes to the target host, those
individual routes can be tested for quality.
-i interface
Designates which interface to
send and receive the probe
packet through.
Enables a simple check of secondary network interfaces.
-n
Replaces host names with IP
addresses.
Used when an address is more beneficial than a host name.
-s
Pings continuously in one
second intervals. Ctrl-C aborts.
Upon abort, statistics are
displayed.
Helps identify intermittent or long-duration network
events. By piping ping output to file, activity overnight
can be viewed all at once.
-svR
Displays the route the probe
packet followed in one second
intervals.
Indicates probe packet route and number of hops.
Comparing multiple routes can identify bottlenecks.
Examples
The following examples show output for the ping command and its options.
# ping -s teddybear
PING teddybear: 56 data bytes
64 bytes from teddybear (192.146.77.140): icmp_seq=0. time=1.
ms
64 bytes from teddybear (192.146.77.140): icmp_seq=1. time=0.
ms
64 bytes from teddybear (192.146.77.140): icmp_seq=2. time=0.
ms
^C
----teddybear PING Statistics---3 packets transmitted, 3 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/1
46
Netra 210 Server System Administration Guide • March 2006