Network Security Memo - Basic Fortinet Firewall Fortigate CLI Commands (Tips and Tricks)
Network Security Memo - Basic Fortinet Firewall Fortigate CLI Commands (Tips and Tricks)
Network Security Memo - Basic Fortinet Firewall Fortigate CLI Commands (Tips and Tricks)
11. Debugging
show system interface wan1 | grep -A2 ip // Show WAN and interface information.
get system info admin status // Show logged in users
get system status // Show system hardware/software update versions
get hardware status // Detailed hardware model information
get system performance status // Check System Uptime
In Interface mode, the physical interfaces of the FortiGate unit are handled individually, with each interface having its own IP
address. Interfaces can also be combined by configuring them as part of either hardware or software switches, which allow
multiple interfaces to be treated as a single interface.
After changed internal switch from switch mode to interface mode, you will be able to move some interface out of Internal
switch and they will become routing interfaces for you to do configuration.
Here is a user case. HA implementation will need two routing ports. If you change your switch to interface mode, you will be
able to use two LAN ports for HA purpose.
FortiGate-60D (10:49-11.12.2014)
Ver:04000024
Serial number: FGT60D4P14005710
CPU(00): 800MHz
Total RAM: 2GB
Initializing boot device...
Initializing MAC... nplite#0
Please wait for OS to boot, or press any key to display configuration menu......
Booting OS...
Reading boot image... 1278067 bytes.
Initializing firewall...
System is starting...
Note: For weekly reboot, you will need expect command with a script.
Test-2 $
Configuration Example
Fortigate Device Information:
LAN : 192.168.200.1/24
WAN : 85.86.87.2/29
Default Gateway to ISP: 85.86.87.1
Reference:
Online Demo Read Access for Fortinet Products
Fortigate:
user:demo
password: demo
fortigate.com
ForiAnalyzer:
user:demo
password: demo
fortianalyzer.com
FortiManager:
user:demo
password: demo
fortimanager.com
FortiMail
user:demo
password: demo
https://209.87.230.132/admin
FortiWeb
user:demo
password: demo
http://fortiweb.fortinet.com/
FortiDB
user:demo
password: demo
http://www.fortidb.com/
Forticloud
https://www.forticloud.com
Online Resources
CLI Reference for FortiOS 5.0