ping 8.8.8.8 -s 1400 Invalid command: ping 8.8.8.8 -s [-s]
ping -c 1 ya.ru ping: Unknown host: -c
ping 8.8.8.8 -s 1400 Invalid command: ping 8.8.8.8 -s [-s]
ping -c 1 ya.ru ping: Unknown host: -c
This is "as intended" b/c ping is an op-mode command.
See TAB completion:
vyos@vyos:~$ ping 8.8.8.8 Possible completions: <Enter> Execute the current command adaptive Ping options allow-broadcast audible bypass-route count deadline flood interface interval mark no-loopback numeric pattern quiet record-route size timestamp tos ttl verbose
vyos@vyos:~$ ping 8.8.8.8 count 1 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=56 time=8.22 ms --- 8.8.8.8 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 8.220/8.220/8.220/0.000 ms
vyos@vyos:~$ ping 1.1.1.1 count 1 size 1500 PING 1.1.1.1 (1.1.1.1) 1500(1528) bytes of data. 1508 bytes from 1.1.1.1: icmp_seq=1 ttl=56 time=9.22 ms --- 1.1.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 9.222/9.222/9.222/0.000 ms