Administrator Guide

Switch Management Commands 2202
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. Thecommand 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/N4000 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.
Reply From fe80::21e:c9ff:fede:b137: icmp_seq = 1. time <10 msec.
Reply From fe80::21e:c9ff:fede:b137: icmp_seq = 2. time <10 msec.
Reply From fe80::21e:c9ff:fede:b137: icmp_seq = 3. time <10 msec.
The following example determines whether another computer is reachable
over the network at the IPv6 address specified.
console#ping ipv6 2030:1::1
Pinging 2030:1::1 with 0 bytes of data:
Reply From 2030:1::1: icmp_seq = 0. time <10 msec.
Reply From 2030:1::1: icmp_seq = 1. time <10 msec.
Reply From 2030:1::1: icmp_seq = 2. time <10 msec.
Reply From 2030:1::1: icmp_seq = 3. time <10 msec.
2CSNXXX_SWUM204.book Page 2202 Monday, January 25, 2016 1:25 PM