Efficient Networks Router family Command Line Interface Manual page 49

Table of Contents

Advertisement

®
Efficient Networks
Router family
Command Line Interface Guide
Response
The following are application examples of the ping command and their typical
responses.
Example
The following command will ping the domain name www.yahoo.com.
-> ping www.yahoo.com
The command attempts a DNS (domain name server) lookup to find the address of
the domain. If the DNS server address is not known, it returns the following message:
ping: unknown host www.yahoo.com
If the DNS lookup is successful, the ping sends five packets, one second apart, with a
packet length of 56 bytes.
ping: reply from 216.32.74.52: bytes=56 (data), icmp_seq=1, time=86 ms
ping: reply from 216.32.74.52: bytes=56 (data), icmp_seq=2, time=81 ms
ping: reply from 216.32.74.52: bytes=56 (data), icmp_seq=3, time=82 ms
ping: reply from 216.32.74.52: bytes=56 (data), icmp_seq=4, time=84 ms
ping: reply from 216.32.74.52: bytes=56 (data), icmp_seq=5, time=82 ms
ping: packets sent 5, packets received 5
Example
The following command requests 2 echo messages sent 7 seconds apart with a
packet length of 34 bytes. The messages are sent to IP address 192.168.254.2.
-> ping -c 2 -i 7 -s 34 192.168.254.2
-ping: reply from 192.168.254.2: bytes=34 (data), time<5 ms
ping: reply from 192.168.254.2: bytes=34 (data), time<5 ms
ping: packets sent 2, packets received 2
Example
The following command sends packets with the source IP address 192.168.254.254
to the IP address 192.4.210.122. Default values are used for the other options.
-> ping -I 192.168.254.254 192.4.210.122
Example
The following command uses management address 192.168.1.2 as the source
address when pinging destination address 192.168.100.100.
-> ping -I 192.168.1.2 192.168.100.100
®
Efficient Networks
Chapter 2: Status Commands
Page 2-19

Advertisement

Table of Contents
loading

Table of Contents