Cisco Cisco Packet Data Gateway (PDG)

Pagina di 8994
  Exec Mode Commands (D-S) 
ping  ▀   
 
Command Line Interface Reference, StarOS Release 17  ▄  
 
   
4127 
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 IPv4 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 ( hostname | ip_address } [ broadcast ] [ count num_packets ] [ pattern 
packet_pattern ] [ size octet_count ] [ src { src_host_name | src_host_ip_address } ] 
hostname
 
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. 
ip_address
 
IPv4 address of host to be pinged 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 
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. 
size
 
octet_count
 
Specifies the number of bytes in each IP datagram as an integer from 40 through 18432. Default: 56