ping6 ipv6–address
Syntax
ping6 [ipv6-address|hostname|switch-number][repetitions
1 - 10000][timeout
1 - 60][date-size
0 - 65507][data-fill
0 -1024][ source [ipv6-addr|vid]][ oobm]
ping6 [link-local-address %vlan vid|hostname|switch-number][repetitions
1 - 10000][timeout
1 - 60][date-size
0 - 65507][data-fill
0 -1024][ source [ipv6-addr|vid]][ oobm]
Description
Pings the specified IPv6 host by sending ICMP version 6 (ICMPv6) echo request packets to the specified host.
Options
ipv6-address
-
IPv6 address of a destination host device.
link-local-address %vlan vid
-
IPv6 link-local address, where
%vlan
vid specifies the VLAN ID number. hostname
-
Hostname of an IPv6 host device configured on an IPv6 DNS server.
switch-number
-
Number of an IPv6-based switch that is a member of a switch stack (IPv6 subnet). Valid values: 1 - 16.
oobm
-
For switches that have a separate out-of-band management (OOBM) port, oobm specifies that the traffic originates from the out-of-band management port.
repetitions 1 - 10000
-
Number of times that IPv6 ping packets are sent to the destination IPv6 host.
Default: 1.
timeout 1 - 60
-
Number of seconds within which a response is required from the destination host before the ping test times out.
Valid values : 1 - 60. Default: 1 second.
data-size 0 - 65471
-
Size of data (in bytes) to be sent in ping packets.
Valid values: 0 - 65471.
Default: 0.
data-fill 0 - 1024
-
Text string used as data in ping packets.
Range: up to 1024 alphanumeric characters; Default: 0
source [
ipv6-addr | vid ]-
The IPv6 address of the pinging device or the VLAN ID on which the ping is being sent.
Default : 0 (no text is used).
Example output
IPv6 ping tests
Switch# ping6 fe80::2:1%vlan10
fe80:0000:0000:0000:0000:0000:0002:0001 is alive, time = 975 ms
Switch# ping6 2001:db8::a:1c:e3:3 repetitions 3
2001:0db8:0000:0000:000a:001c:00e3:0003 is alive, iteration 1, time = 15 ms
2001:0db8:0000:0000:000a:001c:00e3:0003 is alive, iteration 2, time = 15 ms
2001:0db8:0000:0000:000a:001c:00e3:0003 is alive, iteration 3, time = 15 ms
3 packets transmitted, 3 packets received, 0% packet loss
round-trip (ms) min/avg/max = 15/15/15
Switch# ping6 2001:db8::214:c2ff:fe4c:e480 repetitions 3 timeout 2
2001:db8:0000:0000:0214:c2ff:fe4c:e480 is alive, iteration 1, time = 15 ms
2001:db8:0000:0000:0214:c2ff:fe4c:e480 is alive, iteration 2, time = 10 ms
2001:db8:0000:0000:0214:c2ff:fe4c:e480 is alive, iteration 3, time = 15 ms
Switch# ping6 2001:db8::10
Request timed out.