ping

Syntax

ping host

Parameters

host: Destination IP address (in dotted decimal notation), URL, or host name (a string of 1 to 20 characters).

Description

Use the ping command to ping a specified destination.

You can enter Ctrl+C to terminate a ping operation.

Examples

# Ping IP address 1.1.2.2.

<Sysname> ping 1.1.2.2

PING 1.1.2.2: 56 data bytes, press CTRL_C to break

Reply from 1.1.2.2: bytes=56 Sequence=1 ttl=254 time=205 ms

Reply from 1.1.2.2: bytes=56 Sequence=2 ttl=254 time=1 ms

Reply from 1.1.2.2: bytes=56 Sequence=3 ttl=254 time=1 ms

Reply from 1.1.2.2: bytes=56 Sequence=4 ttl=254 time=1 ms

Reply from 1.1.2.2: bytes=56 Sequence=5 ttl=254 time=1 ms

--- 1.1.2.2 ping statistics ---

5 packet(s) transmitted

5 packet(s) received

0.00% packet loss

round-trip min/avg/max = 1/41/205 ms

The output shows that IP address 1.1.2.2 is reachable and the echo replies are all returned from the destination. The minimum, average, and maximum roundtrip intervals are 1 millisecond, 41 milliseconds, and 205 milliseconds respectively.

quit

Syntax

quit

Parameters

None

Description

Use the quit command to log out of the system.

Examples

# Log out of the system.

<Sysname> quit

******************************************************************************

*

Copyright (c) 2004-2011 Hewlett-Packard Development Company, L.P.

*

*

Without the owner's prior written consent,

*

23