
2.3. Utility
2.3.1. ping
Ping host.
Description
Sends one or more ICMP ECHO, TCP SYN or UDP datagrams to the specified IP address of a host.
All datagrams are sent preloaded-style (all at once).
The data size
-length
given is the ICMP or UDP data size. 1472 bytes of ICMP data results in a
1500-byte IP datagram (1514 bytes ethernet).
Usage
ping [-srcif=] [-srcip=]
[-pbr=
] [-count=<1...10>] [-length=<2...8192>]
[-port=<0...65535>] [-udp] [-tcp] [-tos=<0...255>] [-verbose]Options
-count=<1...10>
Number of packets to send. (Default: 1)
-length=<2...8192>
Packet size. (Default: 4)
-pbr=Route using PBR Table.
-port=<0...65535>
Destination port of UDP or TCP ping.
-srcif=
Pass packet through the rule set, simulating that
the packet was received by .
-srcip=
Use this source IP.
-tcp
Send TCP ping.
-tos=<0...255>
Type of service.
-udp
Send UDP ping.
-verbose
Verbose (more information).
IP address of host to ping.
Chapter 2: Command Reference
84
This manual is related to the following products: