ping-option

execute

ping-option

Use this command to configure the ping function behavior settings.

Syntax

execute ping-option <option>

Option

Description

 

Default

 

 

 

data-size <bytes>

Enter datagram size in bytes.

56

df-bit {yes no}

Enter yes to set the DF bit in the IP header to prevent the ICMP

no

 

packet from being fragmented. Setting df-bitto no allows the

 

 

ICMP packet to be fragmented.

 

pattern <hex_pattern>

Enter a pattern to fill the optional data buffer at the end of the

None

 

ICMP packet, for example 00ffaabb. The size of the buffer is

 

 

specified using the data_size parameter. This allows you to

 

 

send out packets of different sizes for testing the effect of

 

 

packet size on the connection.

 

repeat-count <integer>

Enter the number of times to repeat the ping. The value must be

5

 

greater than 0.

 

 

source {auto <ipv4>}

Select the interface from which the ping is sent. Enter either

auto

 

auto or the interface IP address.

 

timeout <seconds>

Enter the ping response timeout in seconds.

2

tos <tos_value>

Enter the IP type-of-service option value, one of:

default

 

default

0

 

 

lowcost

minimize cost

 

 

lowdelay

minimize delay

 

 

reliability

maximize reliability

 

 

throughput

maximize throughput

 

ttl <TTL_integer>

Enter the time-to-live (TTL) value.

64

validate-reply {yes no}

Enter yes to validate ping replies.

no

view-settings

View the current ping option settings.

N/A

History

FortiMail v3.0

New.

Related topics

execute ping

 

FortiMail™ Secure Messaging Platform Version 3.0 MR4 CLI Reference

38

06-30004-0420-20080814

Page 38
Image 38
Fortinet 3.0 MR4 manual Ping-option, Execute ping-option option