Configuration - Cisco Catalyst 2000 Configuration Handbook

Catalyst series lan switching
Table of Contents

Advertisement

Configuration

Use ping packets to check reachability:
1.
(exec) ping [host]
The IP ping sends ICMP type 8 (echo request) packets to the target host (IP address
or hostname), and ICMP echo replies are expected in return. The ping packet size,
packet-size (bytes), and the number of packets, packet-count, can also be specified.
A switch sends five ping packets toward the destination by default. Each ping is dis-
played by one of these characters: ! (successful reply packet received), . (no reply
seen within the timeout period, 2 seconds), U (a destination unreachable error was
received), M (a could-not-fragment message was received), C (a congestion-experi-
enced packet was received), I (the ping test was interrupted on the switch), ? (an
unknown packet type was received), or & (the packet lifetime or time-to-live [TTL]
was exceeded).
When the test completes, the success rate is reported along with a summary of the
round-trip minimum, average, and maximum in milliseconds.
Note For the regular ping command, only the destination address can be given. The
source address used in the ping packets comes from the switch management interface.
The switch also provides a more flexible echo test called an extended ping. The
EXEC-level command ping is given, with no options. You will be prompted for all
available ping options, including the source address to be used. You can specify the
following options:
Protocol (default ip).
Target address.
Repeat count (default 5 packets): The number of echo packets to send.
Datagram size (default 100 bytes): The size of the echo packet; choose a size
larger than the maximum transfer unit (MTU) to test packet fragmentation.
Timeout (default 2 seconds): The amount of time to wait for a reply to each
request packet.
Extended commands:
Source address or interface: Any source address can be given; however,
the address must be the address of the management interface on the
switch if the reply packets are to be seen.
Type of service (default 0).
Chapter 12: Switch Management 215

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents