Fortinet

From Cheatsheet
Revision as of 21:50, 28 July 2023 by Patrick (talk | contribs) (Created page with "Cheatsheets == Links == * https://docs.fortinet.com/product/fortigate/6.4 * https://docs.fortinet.com/document/fortigate/6.4.7/administration-guide/954635/getting-started * https://docs.fortinet.com/document/fortigate/6.0.0/cli-reference/830108/ping-options-ping6-options == Checks == === Common === <syntaxhighlight lang="bash"> # Ping IP 8.8.8.8 execute ping 8.8.8.8 # Ping from a specific interface IP execute ping-options source 10.0.25.1 # P...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Links

Checks

Common

# Ping IP 8.8.8.8
execute ping 8.8.8.8

# Ping from a specific interface IP
execute ping-options source 10.0.25.1

# Ping for a certain amount of times
execute ping-options repeat-count

# Traceroute to IP 1.1.1.1
execute traceroute 1.1.1.1

# List all available interfaces
diagnose netlink interface list

# Show detailed interface statistics
diagnose netlink interface list name <INTERFACE>

VPN

# Show phase 1 configuration for a specific interface.
show vpn ipsec phase1-interface <PHASE1NAME>

# Ping for a certain amount
show vpn ipsec phase2-interface <PHASE2NAME>

# Show summary of VPN tunnel when within a vDom
get vpn ipsec tunnel summary

# Show detailed phase 1 information of a VPN.
diagnose vpn ike gateway list name <Phase1name>
# Enable VPN phase-1 debug mode and display logs in the console
diagnose vpn ike log filter name <phase1-name> 
diagnose debug app ike -1
diagnose debug enable

# Disable debug mode
diagnose debug disable

Syslog

# Test logging capability
diag log test