Cisco Cisco Packet Data Gateway (PDG)
Exec Mode Commands (D-S)
ping ▀
Command Line Interface Reference, StarOS Release 16 ▄
4047
ping
Verifies ability to communicate with a remote node in the network by passing data packets between and measuring the
response. This is accomplished by sending Internet Control Message Protocol (ICMP) echo request packets to the target
node (pinging) and waiting for an ICMP response.
response. This is accomplished by sending Internet Control Message Protocol (ICMP) echo request packets to the target
node (pinging) and waiting for an ICMP response.
Product
All
Privilege
Security Administrator, Administrator, Operator, Inspector
Mode
Exec
The following prompt is displayed in the Exec mode:
[local]host_name#
Important:
Inspector privileges are granted for all variables except count. To initiate a ping count, you must
have a minimum privilege level of Operator.
Syntax
ping host [ broadcast ] [ count num_packets ] [ pattern packet_pattern ] [ size
octet_count ] [ src { src_host_name | src_host_ip_address } ] [ | { grep grep_options |
more } ]
octet_count ] [ src { src_host_name | src_host_ip_address } ] [ | { grep grep_options |
more } ]
ping
host
Sends ICMP echo request packets to the remote node specified the node’s name (up to 127 alphanumeric
characters) or assigned IPv4 address in dotted-decimal notation.
characters) or assigned IPv4 address in dotted-decimal notation.
broadcast
Sends ping packets to broadcast addresses.
count
num_packets
Specifies the number of packets to send to the remote host for verification as an integer from 1 through
10000. Default: 5
10000. Default: 5
pattern
packet_pattern
Specifies a pattern to use to fill the internet control message protocol packets in hexadecimal format with a
value in the range of 0x0000 through 0xFFFF. By default each octet of the packet is encoded with the octet
number of the packet.
value in the range of 0x0000 through 0xFFFF. By default each octet of the packet is encoded with the octet
number of the packet.
size
octet_count
Specifies the number of bytes in each IP datagram as an integer from 40 through 18432. Default: 56
src { src_host_name
| src
host_ip_address
}
Specifies an IP address to use in the packets as the source node. Default: originating system’s IP address