ECMP route failover and load balancing Router Static
FortiGate Version 4.0 MR1 Administration Guide
346 01-410-89802-20090903
http://docs.fortinet.com/ • Feedback
Configuring spill-over or usage-based ECMP
Spill-over or usage-based ECMP routes new sessions to interfaces that have not reached
a configured bandwidth limit (called the Spillover Threshold or a route-spillover threshold).
To configure spill-over or usage-based ECMP routing, you enable spill-over ECMP, add
ECMP routes, and add a Spillover Threshold to the interfaces used by the ECMP routes.
Set the Spillover Thresholds to limit the amount of bandwidth processed by each interface.
With spill-over ECMP routing configured, the FortiGate unit routes new sessions to an
interface used by an ECMP route until that interface reaches its Spillover Threshold. Then,
when the threshold of that interface is reached, new sessions are routed to one of the
other interfaces used by the ECMP routes.
To add Spillover Thresholds to interfaces from the web-based manager
Use the following steps to enable usage based ECMP routing, add Spillover Thresholds to
FortiGate interfaces port3 and port4, and then to configure EMCP routes with device set to
port3 and port4.
1 Go to Router > Static > Static Route.
2 Set ECMP Route failover & Load Balance Method to usage-based.
3 Go to Router > Static > Static Route.
4 Add ECMP routes for port3 and port4.
5 Go to System > Network > Interface.
6 Edit port3 and port4 and add the following spillover-thresholds:
7 Go to Router > Monitor to view the routing table.
The routes could be displayed in the order shown in Table 44.
In this example, the FortiGate unit sends all sessions to the 192.168.20.0 network through
port3. When port3 exceeds its spillover threshold of 100 Kbps the FortiGate unit sends all
new sessions to the 192.168.20.0 network through port4.
Destination IP/Mask 192.168.20.0/24
Device port3
Gateway 172.20.130.3
Distance 10
Destination IP/Mask 192.168.20.0/24
Device port4
Gateway 172.20.140.4
Distance 10
Interface port3
Spillover Threshold (KBps) 100
Interface port4
Spillover Threshold (KBps) 200
Table 44: Example ECMP routes as listed on the routing monitor
Type Network Distance Metric Gateway Interface
Static 192.168.20.0/24 10 0 172.20.130.3 port3
Static 192.168.20.0/24 10 0 172.20.140.4 port4