ping-option
Use this command to configure behavior of ping.
Syntax
execute ping-option data-size <bytes_int>
execute ping-option df-bit {yes | no}
execute ping-option pattern <bufferpattern_hex>
execute ping-option repeat-count <repeat_int>
execute ping-option source {auto | <interface_ipv4>}
execute ping-option timeout <seconds_int>
execute ping-option tos {default | lowcost | lowdelay | reliability | throughput}
execute ping-option ttl <hops_int>
execute ping-option validate-reply {yes | no}
execute ping-option view-settings
Variable |
Description |
Default |
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 |
|
Enter either |
no |
|
Enter a hexadecimal pattern, such as |
|
|
Enter the number of times to repeat the ping. |
5 |
|
Select the network interface from which the ping is sent. Enter either |
auto |
|
Enter the ping response timeout in seconds. |
2 |
|
tos {default | lowcost | lowdelay | reliability | throughput} |
Enter the IP type-of-service option value, either:
|
default |
Enter the time-to-live (TTL) value. |
64 |
|
Select whether or not to validate ping replies. |
no |
|
Display the current ping option settings. |
|
Example
This example sets the number of pings to three and the source IP address to that of the port2 network interface, 10.10.10.1, then views the ping options to verify their configuration.
execute ping-option repeat-count 3
execute ping-option source 10.10.10.1
execute ping-option view-settings
The CLI would display the following:
Ping Options:
Repeat Count: 3
Data Size: 56
Timeout: 2
TTL: 64
TOS: 0
DF bit: unset
Source Address: 10.10.10.1
Pattern:
Pattern Size in Bytes: 0
Validate Reply: no