62-1
62
Network Connectivity Test
Wh n config
e
uring network connectivity test, go to these sections for information you are interested in:
ping
z
z
tracert
Network Connectivity Test
ping
You can u
command to chec
chability of a host.
se the
ping
k the network connectivity and the rea
To do…
Use the command…
Remarks
Check the IP network
connectivity and the
reachability of a host
umber
]
[
ip
] [
-n
] [
- p
pattern
] [
-q
] [
-s
packetsize
]
[
-t
timeout
] [
-tos
tos
] [
-v
]
host
You can execute this
command in any view.
ping
[
-a
ip-address
] [
-c
count
] [
-d
] [
-f
]
[
-h
ttl
] [
-i interface-type interface-n
This
z
timeout time,
z
statistics, including the numbers of sent packets and received response packets, the
irresponsive packet percentage, and the minimum, average and maximum values of response
time.
trace
mmand to trace the gateways that a packet passes from the source to the
e packet gets to the destination. During the procedure, the system records the source
address of e
timeout mes
path that the pa
through to
the destination.
command can output the following results:
Response status for each ping packet. If no response packet is received within the
the message "Request time out" is displayed. Otherwise, the number of data bytes, packet serial
number, time to live (TTL) and response time of the response packet are displayed.
Final
rt
You can use the
tracert
co
destination. This command is mainly used to check the network connectivity. It can also be used to help
locate the network faults.
The executing procedure of the
tracert
command is as follows: First, the source host sends a data
packet with the TTL of 1, and the first hop device returns an ICMP error message indicating that it
cannot forward this packet because of TTL timeout. Then, the source host resends the packet with the
TTL of 2, and the second hop device also returns an ICMP TTL timeout message. This procedure goes
on and on until th
ach ICMP TTL
sage in order to offer the
cket passed
To do…
Use the command…
Remarks
View the gateways that a
packet passes from the source
host to the destination
] [
-m
max-ttl
] [
-p
port
]
[
-q
num-packet
] [
-w
timeout
]
string
You can execute the
tracert
command in any view.
tracert
[
-a source-ip
] [
-f
first-ttl