Chapter 4
Configuring Ethernet and Fast Ethernet Switching
Checking Connectivity
Note
For more detailed information on checking connectivity, see
Connectivity."
Use the ping and traceroute commands to test connectivity out Ethernet or Fast Ethernet ports.
To check connectivity out a port, perform this task in privileged mode:
Task
Step 1
Ping a remote host that is located out the port you
want to test.
Step 2
Trace the hop-by-hop route of packets from the
switch to a remote host located out the port you
want to test.
Step 3
If the host is unresponsive, check the IP address
and default gateway configured on the switch.
This example shows how to ping a remote host and how to trace the hop-by-hop path of packets through
the network using traceroute:
Console> (enable) ping somehost
somehost is alive
Console> (enable) traceroute somehost
traceroute to somehost.company.com (10.1.2.3), 30 hops max, 40 byte packets
1 engineering-1.company.com (173.31.192.206) 2 ms 1 ms 1 ms
2 engineering-2.company.com (173.31.196.204) 2 ms 3 ms 2 ms
3 gateway_a.company.com (173.16.1.201) 6 ms 3 ms 3 ms
4 somehost.company.com (10.1.2.3) 3 ms * 2 ms
Console> (enable)
78-12647-02
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
Configuring Ethernet and Fast Ethernet Ports
Chapter 19, "Checking Port Status and
Command
ping [-s] host [packet_size] [packet_count]
traceroute host
show interface
show ip route
4-7