Administrator Guide

Switch Management Commands 2215
Syntax
ping [vrf vrf-name] {[ ip ]ip-address | hostname | { ipv6 { interface
interface-id | vlan vlan-id | loopback loopback-id | out-of-band | tunnel
tunnel-id} link-local-address | ipv6-address | hostname} [count count] [
interval interval] [ size size] [source { ip-address | ipv6-address | interface-id
| vlan vlan-id | out-of-band}]
ip-address—The IPv4 address to ping.
ipv6-address—The IPv6 address to ping.
link-local-address — The link local IPv6 address to ping.
hostname—The domain name of the host to ping. (Range: 1–158
characters). When used with the IPv6 keyword, the hostname will be
resolved to an IPv6 address, otherwise, it will be resolved to an IPv4
address.
vrf-name—(Optional) The name of the VRF instance from which to
ping. Only hosts reachable from within the VRF instance can be pinged.
If a source parameter is specified in conjunction with a VRF parameter,
it must be a member of the VRF. The ipv6 parameter cannot be used
with the vrf parameter.
interface-id—The interface over which a link local IPv6 address may be
reached. Only available when used with the IPv6 keyword.
repeat—The number of ping packets to send. (Range: 1–100 packets).
interval—The time between Echo Requests, in seconds (Range: 1–60
seconds).
size—Number of data bytes in a packet (Range: 0–13000 bytes).
source ip-address—The ping packets are transmitted using the specified
source IP address.
source loopback loopback-id—The ping packets are transmitted with
the source address of the loopback interface.
source vlan vlan-id—The ping packets are transmitted over the VLAN
with the source address of the VLAN.
source tunnel tunnel-id—The ping packets are transmitted with the
source address of the tunnel.
out-of-band—The ping packets are transmitted over the out-of-band
interface.