Description | This article explains how to configure a static route and a black hole route to different VRFs. |
Scope | All versions of FortiOS. |
Solution |
To configure a static route to a different VRF, first configure the VRF ID on the relevant interface:
config system interface edit <interface> end
Next, configure the static route pointing to the interface:
config router static edit <> next end
To configure a black hole route to a different VRF, enable the option set blackhole enable and configure the VRF ID:
config router static edit <> end
To verify the different VRFs, run the following commands:
get router info routing-table all
Related articles: Technical Tip: How to create a static route on FortiGate from the GUI Interface Technical Tip: How to create or delete static routes via CLI on FortiGate |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.