• Contact
  • About Me
  • Privacy Policy
  • Disclaimer
DefenceDev
  • Home
  • Blog
  • Linux Tutorials
    • Bash Scripting Lessons
    • Commands
    • Networking
    • Bash Scripts
  • Solutions
    • Docker
  • Network Tutorials
    • FortiGate
    • MikroTik
  • Projects
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Cloud
  • Video Tutorials
    • YouTube Channel
    • MikroTik Videos
  • Web Tools
No Result
View All Result
  • Home
  • Blog
  • Linux Tutorials
    • Bash Scripting Lessons
    • Commands
    • Networking
    • Bash Scripts
  • Solutions
    • Docker
  • Network Tutorials
    • FortiGate
    • MikroTik
  • Projects
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Cloud
  • Video Tutorials
    • YouTube Channel
    • MikroTik Videos
  • Web Tools
No Result
View All Result
DefenceDev
No Result
View All Result
ADVERTISEMENT
Home Network Tutorials FortiGate

Fortinet FortiGate: Check the Routing Table in the CLI

neo by neo
September 11, 2025
in FortiGate
0
Fortinet FortiGate: Check the Routing Table in the CLI

Fortinet FortiGate: Check the Routing Table in the CLI

0
SHARES
913
VIEWS
Share on FacebookShare on LinkedIn
Table of Contents
  • Check the Routing Table
    • Display Routing Table
  • Troubleshooting and Optimization

Check the Routing Table

Managing network traffic and troubleshooting connectivity in FortiGate often requires examining the routing table to understand how packets are directed. The FortiGate CLI provides a powerful way to access and interpret the routing table, helping network administrators ensure traffic flows smoothly and securely.

Display Routing Table

To display the routing table in FortiGate’s CLI, log into the CLI and use the following command:

get router info routing-table all
Output of command get router info routing-table all
Output of command get router info routing-table all

Output example: S 192.168.19.0/24 [10/0] via 192.168.20.112, internal

  • S: Static
  • [10/0]: Distance/Metric

This command outputs the routing table entries, displaying essential information, such as the destination IP, gateway, and interface used for each route. You’ll also see the route’s administrative distance and metric, which help FortiGate decide the preferred route when multiple paths to a destination exist.

get router info routing-table static
Output of command get router info routing-table static
Output of command get router info routing-table static

This command specifically shows static routes, allowing you to verify manually configured paths. Static routes are essential for directing traffic to fixed destinations, especially when you need precise control over specific network paths.

To list active and inactive routes, you can use the command:

get router info routing-table database
get router info routing-table database
Output of command get router info routing-table database
  • *> – Active Routes

Policy Route and Predefined Internet Services (ISDB) Routes can be listed with the command:

diagnose firewall proute list

Troubleshooting and Optimization

Understanding the routing table helps with network troubleshooting by revealing how FortiGate decides packet paths. For example, if a packet isn’t reaching its intended destination, reviewing the routing table can show if it’s being sent via an unexpected route or dropped due to incorrect configurations.

ADVERTISEMENT

In cases of high traffic, optimizing your routing configurations based on routing table analysis can prevent congestion and reduce latency. FortiGate’s CLI tools are indispensable for monitoring these details in real-time, providing granular control over your network’s traffic flow. More information about routing you can find on the link.

ADVERTISEMENT

You can also check the following articles about routing:

  • FortiGate: Routing Design Best Practices
  • FortiGate: Reverse Path Forwarding (RPF)
  • FortiGate: Equal Cost Multipath Routing (ECMP) Configuration
  • FortiGate: Routing Monitor and Route Attributes

About The Author

neo

See author's posts

Tags: fortigate
ADVERTISEMENT
Previous Post

VMware ESXi: Enable SSH for Secure Remote Access

Next Post

How to Configure VLAN and Attach It to a VM in VMware ESXi

neo

neo

Related Posts

FortiGate Country Address Object Generator – Block or Allow Access by Country
FortiGate

FortiGate Country Address Object Generator – Block or Allow Access by Country

Home Lab with Fortinet FortiGate 60D Firewall
FortiGate

Home Lab with Fortinet FortiGate 60D Firewall

My Ultimate FortiGate Command Cheat Sheet
FortiGate

My Ultimate FortiGate Command Cheat Sheet

Setting Up IPS (Intrusion Detection System) Profiles on FortiGate to Detect Web Attacks
FortiGate

Setting Up IPS (Intrusion Detection System) Profiles on FortiGate to Detect Web Attacks

Protect a Self-Hosted Application from Brute Force Attacks with FortiGate
FortiGate

How to Protect a Self-Hosted Application from Brute Force Attacks with FortiGate

FortiGate DDoS Protection: Configure DoS Policies to Secure Self-Hosted Applications
FortiGate

FortiGate DDoS Protection: Configure DoS Policies to Secure Self-Hosted Applications

Next Post
VMware ESXi: Configure VLAN and Attach to VM

How to Configure VLAN and Attach It to a VM in VMware ESXi

Recommended

NextCloud: Port Forwarding - Essential Ports for Smooth Functionality

NextCloud: Port Forwarding – Essential Ports for Smooth Functionality and Remote Access

Lesson 5: Linux Bash Read User Input with Example

Lesson 5: Linux Bash Read User Input with Example

Install Portainer on Ubuntu 24.04 Using Docker Compose

Install Portainer on Ubuntu 24.04 Using Docker Compose

FortiGate Country Address Object Generator – Block or Allow Access by Country

FortiGate Country Address Object Generator – Block or Allow Access by Country

View & Copy Image Metadata Online – Camera & GPS Info

View & Copy Image Metadata Online – Camera & GPS Info

Categories

  • Blog
  • Cloud
    • Private
  • Linux Tutorials
    • Bash Scripting Tutorials
    • Commands
    • Networking
  • Network Tutorials
    • FortiGate
    • MikroTik
  • Projects
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Solutions
    • Docker
  • Video Tutorials
    • MikroTik Videos
  • Web Tools
ADVERTISEMENT

DefenceDev Tutorials

defencedev Logo

Whether you’re just starting or looking to expand your skills, I hope you find useful information and engaging discussions here. Let me take you through my journey and the goals behind this space!

Follow Us

Recent News

Install Portainer on Ubuntu 24.04 Using Docker Compose

Install Portainer on Ubuntu 24.04 Using Docker Compose

FortiGate Country Address Object Generator – Block or Allow Access by Country

FortiGate Country Address Object Generator – Block or Allow Access by Country

  • Site Map
  • Privacy Policy
  • Facebook Page
  • Disclaimer
  • Contact
  • About Me

© 2025 defencedev.com - All rights reserved.

No Result
View All Result
  • Home
  • Blog
  • Linux Tutorials
    • Bash Scripting Lessons
    • Commands
    • Networking
    • Bash Scripts
  • Solutions
    • Docker
  • Network Tutorials
    • FortiGate
    • MikroTik
  • Projects
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Cloud
  • Video Tutorials
    • YouTube Channel
    • MikroTik Videos
  • Web Tools

© 2025 defencedev.com - All rights reserved.