Ping6 942, Ping6 – Microsens MS453490M Management Guide User Manual

Page 942

Advertising
background image

C

HAPTER

41

| IP Interface Commands

IPv6 Interface

– 942 –

ping6

This command sends (IPv6) ICMP echo request packets to another node on

the network.

S

YNTAX

ping6 {ipv6-address | host-name} [count count] [size size]

ipv6-address - The IPv6 address of a neighbor device. You can

specify either a link-local or global unicast address formatted

according to RFC 2373 “IPv6 Addressing Architecture,” using 8

colon-separated 16-bit hexadecimal values. One double colon may

be used in the address to indicate the appropriate number of zeros

required to fill the undefined fields.
host-name - A host name string which can be resolved into an IPv6

address through a domain name server.
count - Number of packets to send. (Range: 1-16)
size - Number of bytes in a packet. (Range: 48-18024 bytes)

The actual packet size will be eight bytes larger than the size

specified because the router adds header information.

D

EFAULT

S

ETTING

count: 5

size: 100 bytes

C

OMMAND

M

ODE

Privileged Exec

C

OMMAND

U

SAGE

Use the ping6 command to see if another site on the network can be

reached, or to evaluate delays over the path.

The same link-local address may be used by different interfaces/nodes

in different zones (RFC 4007). Therefore, when specifying a link-local

address, include zone-id information indicating the VLAN identifier after

the % delimiter. For example, FE80::7272%1 identifies VLAN 1 as the

interface from which the ping is sent.

When pinging a host name, be sure the DNS server has been enabled

(see

page 902

). If necessary, local devices can also be specified in the

DNS static host table (see

page 904

).

When using ping6 with a host name, the switch first attempts to

resolve the alias into an IPv6 address before trying to resolve it into an

IPv4 address.

E

XAMPLE

Console#ping6 FE80::2E0:CFF:FE00:FC%1/64

Type ESC to abort.

PING to FE80::2E0:CFF:FE00:FC%1/64, by 5 32-byte payload ICMP packets,

timeout is 3 seconds

response time: 20 ms [FE80::2E0:CFF:FE00:FC] seq_no: 1

response time: 0 ms [FE80::2E0:CFF:FE00:FC] seq_no: 2

response time: 0 ms [FE80::2E0:CFF:FE00:FC] seq_no: 3

Advertising