FORTIGATE - Useful CLI commands : Différence entre versions

De PedroWiki
(Page créée avec « = Introduction = This article will gather some useful CLI commands for Fortigate firewalls configuration and diagnostic. = Toolbox = == IPsec tunnel establishment diag... »)
 
Ligne 4 : Ligne 4 :
  
 
= Toolbox =
 
= Toolbox =
 +
 +
== Show a configuration when configuring ==
 +
 +
# config <menu> <submenu>
 +
<submenu># show
 +
 +
== List device interfaces ==
 +
 +
# show system interface
  
 
== IPsec tunnel establishment diagnostic ==
 
== IPsec tunnel establishment diagnostic ==
  
  diag debug application ike -1
+
  # diag debug application ike -1
  diag debug enable
+
  # diag debug enable
  diag vpn ike log-filter name <name_of_a_IPSec_tunnel>
+
  # diag vpn ike log-filter name <name_of_a_IPSec_tunnel>
  
 
== Indentify tunnel and filter list ==
 
== Indentify tunnel and filter list ==
  
  diag vpn ike log-filter list
+
  # diag vpn ike log-filter list
  
 
== Debug disable ==
 
== Debug disable ==
  
  diag debug disable
+
  # diag debug disable
  
 
[[Category:Fortigate]]
 
[[Category:Fortigate]]

Version du 5 octobre 2022 à 10:09

Introduction

This article will gather some useful CLI commands for Fortigate firewalls configuration and diagnostic.

Toolbox

Show a configuration when configuring

# config <menu> <submenu>
<submenu># show

List device interfaces

# show system interface

IPsec tunnel establishment diagnostic

# diag debug application ike -1
# diag debug enable
# diag vpn ike log-filter name <name_of_a_IPSec_tunnel>

Indentify tunnel and filter list

# diag vpn ike log-filter list

Debug disable

# diag debug disable