The Ping6 test is a point-to-point test that accepts an IPv6 address or IPv6 host name to see if an IPv6 switch is communicating properly with another device on the same or another IPv6 network. A ping test checks the path between the switch and another device by sending IP packets (ICMP Echo Requests).
To use a ping6
command with an IPv6 host name or fully qualified domain names, see DNS resolver for IPv6.
You can issue single or multiple ping tests with varying repetitions and timeout periods to wait for a ping reply.
Replies to each ping test are displayed on the console screen. To stop a ping test before it finishes, press [Ctrl] [C]
.
For more information about using a ping test, see the current Management and Configuration Guide for your switch.
Syntax
ping6
[ ipv6-address
| hostname
| switch-number
] [ repetitions 1 - 10000
] [ timeout 1 - 60
] [ data-size 0 - 65507
] [ data-fill 0 - 1024
] [ source
[ ipv6-addr
| vid
]] [ oobm ]
Syntax
ping6
[ link-local-address
%vlan vid
| hostname
| switch-number
] [ repetitions 1 - 10000
] [ timeout 1 - 60
] [ data-size 0 - 65507
] [ data-fill 0 - 1024
] [ source
[ ipv6-addr
| vid
]] [ oobm ]
Pings the specified IPv6 host by sending ICMP version 6 (ICMPv6) echo request packets to the specified host.
IPv6 ping tests
HP Switch# ping6 fe80::2:1%vlan10 fe80:0000:0000:0000:0000:0000:0002:0001 is alive, time = 975 ms HP 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 HP 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 HP Switch# ping6 2001:db8::10 Request timed out.