216 System Utility and Clear Commands
For information about the
ping
command for IPv6 hosts, see “ping ipv6” on
page 601.
Using the options described below, you can specify the number and size of Echo
Requests and the interval between Echo Requests.
Default
◆ The default count is 1.
◆ The default interval is 3 seconds.
◆ The default size is 0 bytes.
Format
ping [vrf
vrf-name
] {
address
|
hostname
| {ipv6
{interface {
unit/slot/port
| vlan
1-4093
| network |
serviceport}
link-local-address
} |
ipv6-address
|
hostname
} [count
count
] [interval 1-60] [size
size
]
[source
ip-address
|
ipv6-address
| {
unit/slot/port
| vlan
1-4093
| serviceport | network}]
Modes ◆ Privileged EXEC
◆ User EXEC
Parameter Description
vrf-name The name of the virtual router in which to initiate the
ping. If no virtual router is specified, the ping is
initiated in the default router instance.
address
IPv4 or IPv6 addresses to ping.
count Use the count parameter to specify the number of
ping packets (ICMP Echo requests) that are sent to
the destination address specified by the
ip-
address
field. The range for count is 1 to 15
requests.
interval Use the
interval parameter to specify the time
between Echo Requests, in seconds. Range is 1 to 60
seconds.
size Use the
size parameter to specify the size, in bytes,
of the payload of the Echo Requests sent. Range is 0
to 65507 bytes.