Fortinet black logo

CLI Reference

ping6-option

ping6-option

Use this command to configure behavior of ping6.

Syntax

execute ping6-option data-size <bytes_int>

execute ping6-option pattern <bufferpattern_hex>

execute ping6-option repeat-count <repeat_int>

execute ping6-option source {auto | <interface_ipv4>}

execute ping6-option timeout <seconds_int>

execute ping6-option tos {default | lowcost | lowdelay | reliability | throughput}

execute ping6-option ttl <hops_int>

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

execute ping6-option view-settings

Variable

Description

Default

data-size <bytes_int>

Enter datagram size in bytes.This allows you to send out packets of different sizes for testing the effect of packet size on the connection. If you want to configure the pattern that will be used to buffer small datagrams to reach this size, also configure pattern <bufferpattern_hex>.

56

pattern <bufferpattern_hex>

Enter a hexadecimal pattern, such as 00ffaabb, to fill the optional data buffer at the end of the ICMP packet. The size of the buffer is determined by data-size <bytes_int>.

repeat-count <repeat_int>

Enter the number of times to repeat the ping.

5

source {auto | <interface_ipv4>}

Select the network interface from which the ping is sent. Enter either auto or a mail network interface’s IP address.

auto

timeout <seconds_int>

Enter the ping response timeout in seconds.

2

tos {default | lowcost | lowdelay | reliability | throughput}

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

  • default: Do not indicate (that is, set the TOS byte to 0).
  • lowcost: Minimize cost.
  • lowdelay: Minimize delay.
  • reliability: Maximize reliability.
  • throughput: Maximize throughput.

default

ttl <hops_int>

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

64

validate-reply {yes | no}

Select whether or not to validate ping replies.

no

view-settings

Display the current ping option settings.

Related topics

ping

ping6

db

ping6-option

Use this command to configure behavior of ping6.

Syntax

execute ping6-option data-size <bytes_int>

execute ping6-option pattern <bufferpattern_hex>

execute ping6-option repeat-count <repeat_int>

execute ping6-option source {auto | <interface_ipv4>}

execute ping6-option timeout <seconds_int>

execute ping6-option tos {default | lowcost | lowdelay | reliability | throughput}

execute ping6-option ttl <hops_int>

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

execute ping6-option view-settings

Variable

Description

Default

data-size <bytes_int>

Enter datagram size in bytes.This allows you to send out packets of different sizes for testing the effect of packet size on the connection. If you want to configure the pattern that will be used to buffer small datagrams to reach this size, also configure pattern <bufferpattern_hex>.

56

pattern <bufferpattern_hex>

Enter a hexadecimal pattern, such as 00ffaabb, to fill the optional data buffer at the end of the ICMP packet. The size of the buffer is determined by data-size <bytes_int>.

repeat-count <repeat_int>

Enter the number of times to repeat the ping.

5

source {auto | <interface_ipv4>}

Select the network interface from which the ping is sent. Enter either auto or a mail network interface’s IP address.

auto

timeout <seconds_int>

Enter the ping response timeout in seconds.

2

tos {default | lowcost | lowdelay | reliability | throughput}

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

  • default: Do not indicate (that is, set the TOS byte to 0).
  • lowcost: Minimize cost.
  • lowdelay: Minimize delay.
  • reliability: Maximize reliability.
  • throughput: Maximize throughput.

default

ttl <hops_int>

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

64

validate-reply {yes | no}

Select whether or not to validate ping replies.

no

view-settings

Display the current ping option settings.

Related topics

ping

ping6

db