Chapter 33. system management commands, Ping, Chapter 33.system management commands – Allied Telesis AT-S94 CLI (AT-8000S Series) User Manual

Page 321: Chapter 33. "system management commands

Advertising
background image

System Management Commands

Page 320

Chapter 33.System Management Commands

ping

The ping User EXEC mode command sends ICMP echo request packets to another node on the network.

Syntax

ping {ipv4-address | hostname } [size packet_size] [count packet_count] [timeout time_out]

ping ipv6 {ipv6-address | hostname } [size packet_size] [count packet_count] [timeout time_out]

Parameters

ipv6 — Uses IPv6 to check the network connectivity.

ipv4-address — IPv4 address to ping. An out-of-band IP address can be specified as described in the usage

guidelines.

ipv6-address — IPv6 address to ping. When the IPv6 address is a Link-Local address (IPv6Z address), the

outgoing interface name must be specified. Refer to the usage guidelines for the interface name syntax.

hostname — Host name to ping. (Range: 1-158 characters)

packet_size — Number of bytes in a packet. The actual packet size is eight bytes larger than the specified

size specified because the device adds header information. (Range: 56 - 1472 bytes)

packet_count — Number of packets to send. If 0 is entered, it pings until stopped. (Range: 0-65535 packets)

time_out — Timeout in milliseconds to wait for each reply. (Range: 50 - 65535 milliseconds)

Default Configuration

Default packet size is 56 bytes.

Default number of packets to send is 4.

Default timeout value is 2000 milliseconds.

Command Mode

User EXEC mode

User Guidelines

The hostname must be a fully qualified DNS name. A fully qualified DNS name has a period at the end.

Press Esc to stop pinging.

Following are examples of unsuccessful pinging:

Destination does not respond. If the host does not respond, a “no answer from host” appears in ten

seconds.

Destination unreachable. The gateway for this destination indicates that the destination is unreachable.

Network or host unreachable. The device found no corresponding entry in the route table.

The format of an IPv6Z address is: <ipv6-link-local-address>%<interface-name>

interface-name = vlan<integer> | ch<integer> | isatap<integer> | <physical-port-name>

integer = <decimal-number> | <integer><decimal-number>

decimal-number = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9

Advertising