By Manny Fernandez

October 11, 2026

Quick Tip: FortiConverter Route File Format for Importing Static Routes from an ASA firewall

Quick Tip: FortiConverter Route File Format for Importing Static Routes from an ASA firewall

For those that may not know, Fortinet has a product named FortiConverter that will get a config file from a Cisco Router, ASA, FTD, PaloAlto, SonicWall, Juniper, etc. and convert them to a FortiGate config.  If you are a company running FortiGates or buying FortiGates, you may want to look at the FortiConverter “SERVICE”.  If you are a partner or MSSP and you are doing many FortiGates, you may want to look at the standalone FortiConverter licenses that runs on Windows.

FortiConverter supports the import of routing information from an external file. The route file must follow a plain text format similar to the Linux routing table (netstat -rn) output. If the format does not match, the conversion log will display the error:

Unrecognized route file format, please ensure the first line contains title "Destination" and "Gateway"

Solution:

The first line of the file must contain the following column headers:

Destination Gateway Genmask Flags Metric Ref Use Iface

Each subsequent line represents a static route, with fields defined as follows:

  • Destination – The network destination in IPv4 format.

  • Gateway – The next-hop IP address, or * if directly connected.

  • Genmask – The subnet mask of the route.

  • Flags – Route status flags (e.g., U = up, UG = up + gateway).

  • Metric – Administrative cost of the route (default = 0).

  • Ref – Reserved field (typically 0).

  • Use – Reserved field (typically 0).

  • Iface – Outgoing interface (e.g., eth0, port1).

Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0192.0.2.0 * 255.255.255.0 U 0 0 0 eth1 10.10.10.0 10.0.0.1 255.255.255.0 UG 10 0 0 port1

This is from a Fortinet Article #214435

Credit goes to Osiris Diaz Torres, a colleague and friend.

VRF Explained: Virtual Routing and Forwarding on FortiGate, Cisco and Juniper

VRF Explained: Virtual Routing and Forwarding on FortiGate, Cisco and Juniper

Learn virtual routing and forwarding (VRF), then build VRFs and route leaking on FortiGate, Cisco IOS XE and Juniper Junos with tested CLI.

Read More
Meraki CVE-2026-76463: Find and Patch Every Affected Device

Meraki CVE-2026-76463: Find and Patch Every Affected Device

Meraki CVE-2026-76463 explained: what the 8.8 access control bundle covers, how to inventory firmware with the API, and which releases fix it.

Read More
Spanning Tree Protocol Explained: STP vs RSTP vs MSTP (with FortiSwitch Config)

Spanning Tree Protocol Explained: STP vs RSTP vs MSTP (with FortiSwitch Config)

Learn how spanning tree, RSTP and MSTP elect a root and block loops, then configure MSTP on FortiSwitch so both core uplinks forward traffic.

Read More