Chapter 2
Before You Begin
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
switch# send Shutting down the system in 2 minutes. Please log off.
Broadcast Message from admin@excal-112
Shutting down the system in 2 minutes. Please log off.
Using the ping and ping ipv6 Commands
Use the ping command to verify the connectivity of a remote host or server by sending echo messages.
The IPv4 syntax for this command is ping host or ping ipv4-address.
switch# ping 198.133.219.25
PING 198.133.219.25 (198.133.219.25) 56(84) bytes of data.
64 bytes from 198.133.219.25: icmp_seq=1 ttl=245 time=0.856 ms
64 bytes from 198.133.219.25: icmp_seq=2 ttl=245 time=1.02 ms
--- 198.133.219.25 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.856/0.941/1.027/0.090 ms
The IPv6 syntax for this command is ping ipv6 host or ping ipv6 ipv6-address. The following example
pings an IPv6 link-local address configured on a specific address.
shellfish# ping ipv6 fe80::205:30ff:fe01:a4fa interface gigabitethernet 1/1
PING fe80::205:30ff:fe01:a4fa(fe80::205:30ff:fe01:a4fa) from ::1 gige1-1: 56 data bytes
64 bytes from fe80::205:30ff:fe01:a4fa: icmp_seq=1 ttl=64 time=0.091 ms
64 bytes from fe80::205:30ff:fe01:a4fa: icmp_seq=2 ttl=64 time=0.077 ms
64 bytes from fe80::205:30ff:fe01:a4fa: icmp_seq=3 ttl=64 time=0.080 ms
64 bytes from fe80::205:30ff:fe01:a4fa: icmp_seq=4 ttl=64 time=0.075 ms
64 bytes from fe80::205:30ff:fe01:a4fa: icmp_seq=5 ttl=64 time=0.076 ms
To abnormally terminate a ping session, type the Ctrl-C escape sequence.
Using the Extended ping and ping ipv6 Commands
The ping and ping ipv6 commands provide additional options to verify the connectivity of a remote host
or server. To specify these additional parameters, just type ping at the CLI switch prompt and press
Enter.
Table 2-3
Table 2-3
Option
Target IP address
Repeat count
Datagram size
Timeout in seconds
Extended commands
OL-16184-01, Cisco MDS SAN-OS Release 3.x
(/dev/pts/3) at 16:50 ...
summarizes the syntax and the defaults.
Options and Defaults for the ping and ping ipv6 Commands
Description
The IPv4 address, IPv6 address, or host name of the
destination node to ping.
The number of ping packets to be sent to the destination
address.
The size of each ping packet in bytes.
The timeout interval before the ping or ping ipv6
command is terminated.
Specifies if a series of additional commands appear.
Using the ping and ping ipv6 Commands
Cisco MDS 9000 Family CLI Configuration Guide
Default
Not
applicable
5 packets
100 bytes
2 seconds
No
2-15
Need help?
Do you have a question about the Cisco MDS 9020 - Fabric Switch and is the answer not in the manual?