
43
N
ETWORK
C
ONNECTIVITY
T
EST
Network Connectivity
Test
ping
You can use the
ping
command to check the network connectivity and the
reachability of a host.
This command can output the following results:
■
Response status for each ping packet. If no response packet is received within
the timeout time, the message "Request time out" is displayed. Otherwise, the
number of data bytes, packet serial number, TTL (time to live) and response
time of the response packet are displayed.
■
Final 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.
tracert
You can use the
tracert
command to trace the gateways that a packet passes
from the source to the 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 the packet gets to the destination. During the procedure, the
system records the source address of each ICMP TTL timeout message in order to
offer the path that the packet passed through to the destination.
Table 359
The ping command
Operation
Command
Description
Check the IP network
connectivity and the
reachability of a host
ping
[
-a
ip-address
] [
-c
count
] [
-d
] [
-f
] [
-h
ttl
] [
-i
interface-type
interface-number
] [
ip
] [
-n
] [
- p
pattern
] [
-q
] [
-s
packetsize
] [
-t
timeout
] [
-tos
tos
] [
-v
]
host
You can execute this
command in any view.
Summary of Contents for 4210 PWR
Page 22: ...20 CHAPTER 1 CLI CONFIGURATION...
Page 74: ...72 CHAPTER 3 CONFIGURATION FILE MANAGEMENT...
Page 84: ...82 CHAPTER 5 VLAN CONFIGURATION...
Page 96: ...94 CHAPTER 8 IP PERFORMANCE CONFIGURATION...
Page 108: ...106 CHAPTER 9 PORT BASIC CONFIGURATION...
Page 122: ...120 CHAPTER 11 PORT ISOLATION CONFIGURATION...
Page 140: ...138 CHAPTER 13 MAC ADDRESS TABLE MANAGEMENT...
Page 234: ...232 CHAPTER 17 802 1X CONFIGURATION...
Page 246: ...244 CHAPTER 20 AAA OVERVIEW...
Page 270: ...268 CHAPTER 21 AAA CONFIGURATION...
Page 292: ...290 CHAPTER 26 DHCP BOOTP CLIENT CONFIGURATION...
Page 318: ...316 CHAPTER 29 MIRRORING CONFIGURATION...
Page 340: ...338 CHAPTER 30 CLUSTER...
Page 362: ...360 CHAPTER 33 SNMP CONFIGURATION...
Page 368: ...366 CHAPTER 34 RMON CONFIGURATION...
Page 450: ...448 CHAPTER 39 TFTP CONFIGURATION...
Page 451: ......
Page 452: ...450 CHAPTER 39 TFTP CONFIGURATION...
Page 470: ...468 CHAPTER 40 INFORMATION CENTER...
Page 496: ...494 CHAPTER 44 DEVICE MANAGEMENT...