IP Interface Commands
4-237
4
Example
Related Commands
ip default-gateway (4-235)
ping
Use this command to send ICMP echo request packets to another node on the
network.
Syntax
ping
host
[
count
count
][
size
size
]
•
host
- IP address or IP alias of the host.
•
count
- Number of packets to send. (Range: 1-16, default: 5)
•
size
- Number of bytes in a packet. (Range: 32-512, default: 32)
The actual packet size will be eight bytes larger than the size specified
because the switch adds header information.
Default Setting
This command has no default for the host.
Command Mode
Normal Exec, Privileged Exec
Command Usage
• Use the
ping
command to see if another site on the network can be reached.
• 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.
• Press <Esc> to stop pinging.
Console#show ip redirects
ip default gateway 10.1.0.254
Console#
Summary of Contents for Matrix-V V2H124-24P
Page 2: ......
Page 8: ...Notice vi...
Page 22: ...Contents xx...
Page 26: ...Tables xxiv...
Page 30: ...Figures xxviii...
Page 38: ...Introduction 1 8 1...
Page 50: ...Initial Configuration 2 12 2...
Page 159: ...Port Configuration 3 109 3 Figure 3 66 Displaying Etherlike and RMON Statistics...
Page 234: ...Configuring the Switch 3 184 3...
Page 480: ...Command Line Interface 4 246 4...
Page 496: ...Index Index 4...
Page 497: ......
Page 498: ...Part 150200039400A FW 2 5 2 0 E012005 R02 ES3526G E072000 R04...