User Manual

7.4 Ping
7.4.1 IPv6 ping
[Syntax]
ping6 host [repeat count] [size datalen] [timeout timeout]
[Keyword]
repeat : Specifies the number of times to execute
size : Specifies the length of the ICMPv6 payload (byte units)
timeout : Specifies the time to wait for a reply after transmitting the specified number of Echo requests
[Parameter]
host : Host name, or target IPv6 address (X:X::X:X)
Target to which ICMPv6 Echo is sent
If you specify an IPv6 link local address, you must also specify the output interface (fe80::X%vlan0.N
format)
count : Number of times to execute (if omitted: 5)
Setting value Description
<1-2147483647> Execute the specified number of times
continuous Execute repeatedly until Ctrl+C is entered
datalen : <36-18024>
Length of ICMP payload (if omitted: 56)
timeout : <1-65535>
Time to wait for a reply (if omitted: 2)
Ignored if count is specified as "continuous"
[Input mode]
priviledged EXEC mode
[Description]
Send ICMPv6 Echo to the specified host, and wait for ICMPv6 Echo Reply.
When it is received, indicate this. Show simple statistical information when the command ends.
[Example]
Ping fe80::2a0:deff:fe11:2233.
SWP1#ping6 fe80::2a0:deff:fe11:2233%vlan0.1
PING fe80::2a0:deff:fe11:2233%vlan0.1 (fe80::2a0:deff:fe11:2233%vlan0.1): 56 data
bytes
64 bytes from fe80::2a0:deff:fe11:2233: seq=0 ttl=64 time=2.681 ms
64 bytes from fe80::2a0:deff:fe11:2233: seq=1 ttl=64 time=4.760 ms
64 bytes from fe80::2a0:deff:fe11:2233: seq=2 ttl=64 time=10.045 ms
64 bytes from fe80::2a0:deff:fe11:2233: seq=3 ttl=64 time=10.078 ms
64 bytes from fe80::2a0:deff:fe11:2233: seq=4 ttl=64 time=10.210 ms
--- fe80::2a0:deff:fe11:2233%vlan0.1 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 2.681/7.554/10.210 ms
Command Reference | IPv6 | 71