beautypg.com

Ping – Brocade 6910 Ethernet Access Switch Configuration Guide (Supporting R2.2.0.0) User Manual

Page 657

background image

Brocade 6910 Ethernet Access Switch Configuration Guide

601

53-1002651-02

29

IPv4 Interface

ping

This command sends (IPv4) ICMP echo request packets to another node on the network.

Syntax

ping host [count count] [size size]

host - IP address or alias of the host. (Maximum length: 134 characters)

count - Number of packets to send. (Range: 1-16)

size - Number of bytes in a packet. (Range: 32-512)
The actual packet size will be eight bytes larger than the size specified because the router
adds header information.

Default Setting
count: 5
size: 32 bytes

Command Mode
Normal Exec, Privileged Exec

Command Usage

Use the ping command to see if another site on the network can be reached.

The following are some results of the ping command:

Normal response - The normal response occurs in one to ten seconds, depending on
network traffic.

Destination does not respond - If the host does not respond, a “timeout” appears in ten
seconds.

Destination unreachable - The gateway for this destination indicates that the destination is
unreachable.

Network or host unreachable - The gateway found no corresponding entry in the route
table.

When pinging a host name, be sure the DNS server has been defined (see

“ip name-server”

on

page 582), and host name-to-address translation enabled (see

“ip domain-lookup,”

). If

necessary, local devices can also be specified in the DNS static host table (see

“ip host”

on

page 582).

Example

Console#ping 10.1.0.9

Type ESC to abort.

PING to 10.1.0.9, by 5 32-byte payload ICMP packets, timeout is 5 seconds

response time: 10 ms

response time: 10 ms

response time: 10 ms

response time: 10 ms

response time: 0 ms

Ping statistics for 10.1.0.9:

5 packets transmitted, 5 packets received (100%), 0 packets lost (0%)

Approximate round trip times:

Minimum = 0 ms, Maximum = 10 ms, Average = 8 ms

Console#