CLI Guide

Switch Management Commands 2289
The ipv6 parameter must be specified if an IPv6 address is entered.
Otherwise, the command will interpret the IPv6 address as a hostname
parameter.
The switch can be pinged from a remote IPv4/IPv6 host with which the
switch is connected through the default VLAN (VLAN 1) or another VLAN, if
configured, as long as there is a physical path between the switch and the
host.
Use the optional interface keyword to ping an IPv6 link-local interface by
using the IPv6 link-local address or the global IPv6 address of the interface as
the destination address in the ICMP echo packet.
Use the source keyword to specify the source IPv6 address to use in the ping
packet and to specify the source interface on which to transmit the ICMP
packet. The source can be a loopback, tunnel, logical interface, or the out-of-
band interface.
If a host name is specified, a DNS server must be configured locally on the
switch and the host name must resolve to an IPv4/IPv6 address as appropriate
for the syntax entered. The command allows spaces in the host name when
specified in double quotes, even though host names may only consist of
letters, numbers and the hyphen character.
The VRF identified in the parameter must have been previously created or an
error is returned.
Only IPv4 addresses are supported with the vrf parameter.
The vrf parameter is only available on the N3000-ON/N3100 switches.
Loopback interfaces are not supported on the N1100-ON Series switches.
Examples
The following example sends an IPv4 ICMP Echo request from VLAN 3 to
10.1.1.3
console#ping 10.1.1.3 source vlan 3
The following example determines whether the loopback interface is
reachable on the network at the IPv6 address specified.
console(config)#ping ipv6 interface loopback 1 FE80::202:BCFF:FE00:3068
Pinging fe80::21e:c9ff:fede:b137 with 0 bytes of data:
Reply From fe80::21e:c9ff:fede:b137: icmp_seq = 0. time <10 msec.