4 ping6, Ping – PLANET XGS3-24040 User Manual

Page 855

Advertising
background image



62-4

62.4 ping6

Command: ping6 [<dst-ipv6-address> | host <hostname> | src <src-ipv6-address>

{<dst-ipv6-address > | host <hostname>}]

Function: To check whether the destination network can be reached.

Parameters: <dst-ipv6-address> is the target IPv6 address of the ping command. <src-ipv6-address>

is the source IPv6 address where the ping command is issued. <hostname> is the target host name of

the ping command, which is limited to be less than 30 characters.

Default: Five ICMP6 echo request will be sent by default, with default size as 56 bytes, and default

timeout to be 2 seconds.

Command Mode: Normal user mode

Usage Guide: When the ping6 command is issued with only one IPv6 address, other parameters will be

default. And when the ipv6 address is a local data link address, the name of VLAN interface should be

specified. When the source IPv6 address is specified, the command will fill the icmp6 echo requests with

the specified source address for ping.

Example:

(1) To issue ping6 command with default parameters.

Switch>ping6 2001:1:2::4

Type ^c to abort.

Sending 5 56-byte ICMP Echos to 2001:1:2::4, timeout is 2 seconds.

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/320/1600 ms

(2) To issue the ping6 command with source IPv6 address specified.

switch>ping6 src 2001:1:2::3 2001:1:2::4

Type ^c to abort.

Sending 5 56-byte ICMP Echos to 2001:1:2::4, using src address 2001:1:2::3, timeout is 2

seconds.

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms

(3) To issue the ping6 command with parameters input interactively.

switch>ping6

Target IPv6 address:fe80::2d0:59ff:feb8:3b27

Output Interface: vlan1

Use source address option[n]:y

Source IPv6 address: fe80::203:fff:fe0b:16e3

Repeat count [5]:

Datagram size in byte [56]:

Timeout in milli-seconds [2000]:

Advertising