10-8
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 10 Checking Port Status and Connectivity
Using IP Traceroute
•
Destination unreachable—If the default gateway cannot reach the specified network, a Destination
Unreachable message is returned.
•
Network or host unreachable—If there is no entry in the route table for the host or network, a
Network or Host Unreachable message is returned.
To stop a ping in progress, press
Ctrl-C
.
Running Ping
To ping another device on the network from the switch, enter this command in normal executive and
privileged EXEC mode:
This example shows how to ping a remote host from normal executive mode:
Switch#
ping labsparc
labsparc is alive
Switch>
ping 72.16.10.3
12.16.10.3 is alive
Switch#
This example shows how to use a
ping
command in privileged EXEC mode to specify the number of
packets, the packet size, and the timeout period:
Switch#
ping
Target IP Address []:
12.20.5.19
Number of Packets [5]:
10
Datagram Size [56]:
100
Timeout in seconds [2]:
10
Source IP Address [12.20.2.18]:
12.20.2.18
!!!!!!!!!!
----12.20.2.19 PING Statistics----
10 packets transmitted, 10 packets received, 0% packet loss
round-trip (ms) min/avg/max = 1/1/1
Switch
Using IP Traceroute
These sections describe how to use IP traceroute feature:
•
Understanding How IP Traceroute Works, page 10-8
•
Running IP Traceroute, page 10-9
Understanding How IP Traceroute Works
IP traceroute allows you to identify the path that packets take through the network on a hop-by-hop basis.
The command output displays all network layer (Layer 3) devices, such as routers, that the traffic passes
through on the way to the destination.
Command
Purpose
Switch#
ping
host
Checks connectivity to a remote host.
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...