Fortinet white logo
Fortinet white logo

CLI Reference

execute ping6-options

execute ping6-options

Use this command to set ICMP echo request (ping) options to control the way ping6 tests the network connection between the FortiProxy unit and another network device.

Enable or disable adaptive ping

execute ping6-options adaptive-ping {enable | disable}

Set the ping6 datagram size in bytes (default is 56 bytes)

execute ping6-options data-size <integer> Integer value [0,65507]

Set the time interval

Between sending ping packets in seconds.

execute ping6-options interval <integer> Integer value > 0

Set the pattern (in hex format)

Used to fill in the optional data buffer at the end of the ICMP packet. This allows you to send out packets of different sizes for testing the effect of packet size on the connection.

execute ping6-options pattern Hex format of pattern, for example, 00ffaabb.

<string> Hex format of pattern, for example, 00ffaabb.

Set the repeat count

The number of times to repeat the ping; the default is 5.

execute ping6-options repeat-count Integer value to specify how many times to repeat ping.

<string> Integer value > 0.

Reset

Reset ping6 settings to the defaults.

execute ping6-options reset

Set the source interface

The source interface from which to send the ping. Allows you to test connections to different network segments from the specified interface. auto (the default) selects the source address and interface based on the route destination IP address.

execute ping6-options source {Auto | <source interface IP>}

Set the timeout

How long to wait (in seconds) before the ping times out (default is 2).

execute ping6-options timeout <integer> Integer value >= 0

Set the type of service (ToS)

Set the ToS field in the packet header to provide an indication of the quality of service wanted.

execute ping6-options tos IP type-of-service option.

<string>

default IP TOS defaults to 0

lowcost IP TOS minimize cost

lowdelay IP TOS minimize delay

reliability IP TOS maximize reliability

throughput IP TOS maximize throughput

Set the time to live

Time to live is the number of hops the ping6 packet should be allowed to make before being discarded or returned (default 64).

execute ping6-options ttl <integer> Integer value [1,255]

Validate reply

Optionally validate reply data by setting validate-reply to yes (no by default).

execute ping6-options validate-reply {yes | no}

View settings

View current ping6 settings.

execute ping6-options view-settings

execute ping6-options

execute ping6-options

Use this command to set ICMP echo request (ping) options to control the way ping6 tests the network connection between the FortiProxy unit and another network device.

Enable or disable adaptive ping

execute ping6-options adaptive-ping {enable | disable}

Set the ping6 datagram size in bytes (default is 56 bytes)

execute ping6-options data-size <integer> Integer value [0,65507]

Set the time interval

Between sending ping packets in seconds.

execute ping6-options interval <integer> Integer value > 0

Set the pattern (in hex format)

Used to fill in the optional data buffer at the end of the ICMP packet. This allows you to send out packets of different sizes for testing the effect of packet size on the connection.

execute ping6-options pattern Hex format of pattern, for example, 00ffaabb.

<string> Hex format of pattern, for example, 00ffaabb.

Set the repeat count

The number of times to repeat the ping; the default is 5.

execute ping6-options repeat-count Integer value to specify how many times to repeat ping.

<string> Integer value > 0.

Reset

Reset ping6 settings to the defaults.

execute ping6-options reset

Set the source interface

The source interface from which to send the ping. Allows you to test connections to different network segments from the specified interface. auto (the default) selects the source address and interface based on the route destination IP address.

execute ping6-options source {Auto | <source interface IP>}

Set the timeout

How long to wait (in seconds) before the ping times out (default is 2).

execute ping6-options timeout <integer> Integer value >= 0

Set the type of service (ToS)

Set the ToS field in the packet header to provide an indication of the quality of service wanted.

execute ping6-options tos IP type-of-service option.

<string>

default IP TOS defaults to 0

lowcost IP TOS minimize cost

lowdelay IP TOS minimize delay

reliability IP TOS maximize reliability

throughput IP TOS maximize throughput

Set the time to live

Time to live is the number of hops the ping6 packet should be allowed to make before being discarded or returned (default 64).

execute ping6-options ttl <integer> Integer value [1,255]

Validate reply

Optionally validate reply data by setting validate-reply to yes (no by default).

execute ping6-options validate-reply {yes | no}

View settings

View current ping6 settings.

execute ping6-options view-settings