
20-1
20
System Maintenance and Debugging
When maintaining and debugging the system, go to these sections for information you are interested
in:
z
System Maintenance and Debugging
z
Ping
z
Tracert
z
System Debugging
z
Ping and Tracert Configuration Example
System Maintenance and Debugging
You can use the
ping
command and the
tracert
command to verify the current network connectivity,
and use the
debug
command to enable debugging and thus to diagnose system faults based on the
debugging information.
Ping
Introduction
You can use the
ping
command to verify whether a device with a specified address is reachable, and
to examine network connectivity.
The
ping
function is implemented through the Internet Control Message Protocol (ICMP):
1) The source device sends an ICMP echo request to the destination device.
2) The source device determines whether the destination is reachable based on whether it receives
an ICMP echo reply; if the destination is reachable, the source device determines the link quality
based on the numbers of ICMP echo requests sent and replies received, determines the distance
between the source and destination based on the round trip time of ping packets.
Configuring Ping
Follow the step below to configure the ping function:
To do…
Use the command…
Remarks
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
Check
whether a
specified
address in an
IP network is
reachable
ping ipv6
[
-a
source-ipv6
|
-c
count
|
-m
interval
|
-s
packet-size
|
-t
timeout
] *
host
[
-i
interface-type
interface-number
]
Required
Use either approach
The
ping
command is
applicable in an IPv4
network; the
ping ipv6
command is applicable in an
IPv6 network.
Available in any view
Содержание 4510G
Страница 502: ...4 8 ...
Страница 1010: ...18 6 000f e235 dc71 1 Config static GigabitEthernet 1 0 1 NOAGED 1 mac address es found ...