Fortinet white logo
Fortinet white logo

diagnose exec

diagnose exec

Use this command to diagnose IP tables, network connectivity and network traffic.

Syntax

diagnose exec <iptables|ping|tcpdump>

Option

Description

iptables <ARGS>

Diagnose IP table issues.

ping <HOST>

Ping the IP address.

Options

Description

-c

Court: Number of pings to be sent

-i

Interval: Interval of seconds between each outgoing packet.

-I

Interface: Deployment network name if it matches any, or as normal port

-s

Packet size: Number of data bytes in each packet (default: 56)

-t

TTL: Time to live.

tcpdump <ARGS>

Diagnose local network traffic.
Example:

                                            

diagnose exec ping 8.8.8.8

diagnose exec ping -I deploynet1 10.90.4.123

diagnose exec ping -I port2 192.168.2.1


diagnose exec tcpdump -i port1 -c 10 host 192.168.0.123 and port 3128
diagnose exec tcpdump -h

diagnose exec

diagnose exec

Use this command to diagnose IP tables, network connectivity and network traffic.

Syntax

diagnose exec <iptables|ping|tcpdump>

Option

Description

iptables <ARGS>

Diagnose IP table issues.

ping <HOST>

Ping the IP address.

Options

Description

-c

Court: Number of pings to be sent

-i

Interval: Interval of seconds between each outgoing packet.

-I

Interface: Deployment network name if it matches any, or as normal port

-s

Packet size: Number of data bytes in each packet (default: 56)

-t

TTL: Time to live.

tcpdump <ARGS>

Diagnose local network traffic.
Example:

                                            

diagnose exec ping 8.8.8.8

diagnose exec ping -I deploynet1 10.90.4.123

diagnose exec ping -I port2 192.168.2.1


diagnose exec tcpdump -i port1 -c 10 host 192.168.0.123 and port 3128
diagnose exec tcpdump -h