In operational mode, the ping
command does not accept IPv6 address, then need to use ping6
.
In config mode, the run ping
command does not accept IPv6 address, also the run ping6
is an invalid command in config mode.
Please see sample here,
vyos@vy3a:~$ ping ?
Possible completions:
<hostname> Send Internet Control Message Protocol (ICMP) echo request
<x.x.x.x>
<h:h:h:h:h:h:h:h>
vyos@vy3a:~$ ping 2602:a200:ffff:ffff:f01:c03:a01:1
ping: Unknown host: 2602:a200:ffff:ffff:f01:c03:a01:1
vyos@vy3a:~$ ping6 2602:a200:ffff:ffff:f01:c03:a01:1
PING 2602:a200:ffff:ffff:f01:c03:a01:1(2602:a200:ffff:ffff:f01:c03:a01:1) 56 data bytes
64 bytes from 2602:a200:ffff:ffff:f01:c03:a01:1: icmp_seq=1 ttl=64 time=1.61 ms
64 bytes from 2602:a200:ffff:ffff:f01:c03:a01:1: icmp_seq=2 ttl=64 time=2.13 ms
64 bytes from 2602:a200:ffff:ffff:f01:c03:a01:1: icmp_seq=3 ttl=64 time=1.89 ms
64 bytes from 2602:a200:ffff:ffff:f01:c03:a01:1: icmp_seq=4 ttl=64 time=2.02 ms
^C
--- 2602:a200:ffff:ffff:f01:c03:a01:1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 12ms
rtt min/avg/max/mdev = 1.609/1.910/2.127/0.198 ms
vyos@vy3a:~$ show ver
Version: VyOS 1.3-rolling-202005100117
Release Train: equuleus