1
Using ping, tracert, and system
debugging
This chapter covers ping, tracert, and information about debugging the system.
Ping
Use the ping utility to determine if an address is reachable.
Ping sends ICMP echo requests (ECHO-REQUEST) to the destination device. Upon receiving the
requests, the destination device responds with ICMP echo replies (ECHO-REPLY) to the source
device. The source device outputs statistics about the ping operation, including the number of
packets sent, number of echo replies received, and the round-trip time. You can measure the
network performance by analyzing these statistics.
Using a ping command to test network connectivity
Execute
ping
commands in any view.
Task
Command
Determine if an address in an IP network is
reachable.
When you configure the
ping
command for a low-speed
network, set a larger value for the timeout timer (indicated by
the
-t
keyword in the command).
•
For IPv4 networks:
ping
[
ip
] [
-a
source-ip
|
-c
count
|
-f
| -
h
ttl
|
-i
interface-type interface-number
|
-m
interval
|
-n
|
-p
pad
|
-q
|
-r
|
-s
packet-size
|
-t
timeout
|
-tos
tos
|
-v
|
-vpn-instance vpn-instance-name
] *
host
•
For IPv6 networks:
ping ipv6
[
-a
source-ipv6
|
-c
count
|
-i
interface-type
interface-number
|
-m
interval
|
-q
|
-s
packet-size
|
-t
timeout
|
-v
|
-tc traffic-class
|
-vpn-instance
vpn-instance-name
] *
host
For more information about the
ping mpls
command, see
MPLS Command Reference
.
Ping example
Network requirements
As shown in
, determine if Device A and Device C can reach each other. If they can reach
each other, get detailed information about routes from Device A to Device C.
Summary of Contents for FlexNetwork 10500 SERIES
Page 224: ...213 ...
Page 311: ...300 Now the system can record log information to the specified file ...