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>] [source <ipv6–address>|vlan-id>] [data–size <0–65507>] [data–fill <0–1024>]
Syntax:
ping6
<link-local–address>
%vlan<vid>
|hostname|switch–number>
[repetitions <1–10000>] [timeout <1–60>] [source <ipv6–address>|vlan-id>] [data–size <0–65507>] [data–fill <0–1024>]
Pings the specified IPv6 host by sending ICMP version 6 (ICMPv6) echo request packets to the specified host.
See AlsoWhat is a default gateway?
: IPv6 address of a destination host device.
<ipv6–address>
: IPv6 link-local address, where
<link-local–address>
%vlan<vid>
%vlan
specifies the VLAN ID number.<vid>
: Host name of an IPv6 host device configured on an IPv6 DNS server.
<hostname>
: Number of an IPv6-based switch that is a member of a switch stack (IPv6 subnet). Valid values: 1–16.
<switch–number>
[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.
[source <ipv6–addr|hostname>]
: Source IP address or hostname. The source IP address must be owned by the router. If a VLAN is specified, the IP address associated with the specified VLAN is used.
[data–size]
: Size of data (in bytes) to be sent in ping packets. Valid values: 0–65507. Default: 0.
[data–fill <0–1024>]
: Text string used as data in ping packets. Default: 0; Range: up to 1024 alphanumeric characters.
source [
: The IPv6 address of the pinging device or the VLAN–ID on which the ping is being sent. Default : 0 (no text is used).<ipv6–addr
|vid>
]
IPv6 ping tests
HP Switch# ping6 fe80::2:1%vlan10fe80:0000:0000:0000:0000:0000:0002:0001 is alive, time = 975 msHP Switch# ping6 2001:db8::a:1c:e3:3 repetitions 32001:0db8:0000:0000:000a:001c:00e3:0003 is alive, iteration 1, time = 15 ms2001:0db8:0000:0000:000a:001c:00e3:0003 is alive, iteration 2, time = 15 ms2001:0db8:0000:0000:000a:001c:00e3:0003 is alive, iteration 3, time = 15 ms3 packets transmitted, 3 packets received, 0% packet lossround–trip (ms) min/avg/max = 15/15/15HP Switch# ping6 2001:db8::214:c2ff:fe4c:e480 repetitions 3 timeout 22001:db8:0000:0000:0214:c2ff:fe4c:e480 is alive, iteration 1, time = 15 ms2001:db8:0000:0000:0214:c2ff:fe4c:e480 is alive, iteration 2, time = 10 ms2001:db8:0000:0000:0214:c2ff:fe4c:e480 is alive, iteration 3, time = 15 msHP Switch# ping6 2001:db8::10Request timed out.