Executing Ping - Cisco WS-C4003 - Catalyst 4000 Chassis Switch Software Configuration Manual

Software guide
Table of Contents

Advertisement

Chapter 19
Checking Port Status and Connectivity
These default values apply to the ping-s command:
Table 19-1 Ping Default Values
Number of
Packets
Packet Size
Wait Time
Source
Address
Ping will return one of the following responses:
To stop a ping in progress, press Ctrl-C.

Executing Ping

To ping another device on the network from the switch, perform one of these tasks in normal or
privileged mode:
Task
Ping a remote host.
Ping a remote host using ping options.
This example shows how to ping a remote host from normal executive mode:
Console> ping labsparc
labsparc is alive
Console> ping 72.16.10.3
12.16.10.3 is alive
Console>
This example shows how to ping a remote host using the ping -s option:
Console> ping -s 12.20.5.3 800 10
PING 12.20.2.3: 800 data bytes
808 bytes from 12.20.2.3: icmp_seq=0. time=2 ms
808 bytes from 12.20.2.3: icmp_seq=1. time=3 ms
808 bytes from 12.20.2.3: icmp_seq=2. time=2 ms
808 bytes from 12.20.2.3: icmp_seq=3. time=2 ms
808 bytes from 12.20.2.3: icmp_seq=4. time=2 ms
78-12647-02
Ping
5
56
2
Host IP
Address
Normal response—The normal response (hostname is alive) occurs in 1 to 10 seconds, depending
on network traffic.
Destination does not respond—If the host does not respond, a no answer message is returned.
Unknown host—If the host does not exist, an unknown host message is returned.
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.
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
Ping-s
0=continuous
ping
56
2
Command
ping host
ping -s host [packet_size] [packet_count]
Using Ping
19-9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 4000 seriesCatalyst 2948gCatalyst 2980g

Table of Contents