IP Interface Commands
4-317
4
ping
This command sends ICMP echo request packets to another node on the network.
Syntax
ping
host
[
size
size
] [
count
count
]
•
host
- IP address or IP alias of the host.
•
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.
•
count
- Number of packets to send. (Range: 1-16, default: 5)
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.
Example
Related Commands
interface (4-166)
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: 10 ms
Ping statistics for 10.1.0.9:
5 packets transmitted, 5 packets received (100%), 0 packets lost (0%)
Approximate round trip times:
Minimum = 10 ms, Maximum = 20 ms, Average = 10 ms
Console#
Содержание 6128PL2
Страница 2: ......
Страница 8: ...viii ...
Страница 26: ...Contents xviii ...
Страница 30: ...Tables xxii ...
Страница 52: ...Initial Configuration 2 10 2 ...
Страница 308: ...Configuring the Switch 3 256 3 ...
Страница 473: ...SNMP Commands 4 165 4 ...
Страница 644: ...Command Line Interface 4 336 4 ...
Страница 648: ...Software Specifications A 4 A ...
Страница 663: ......