Fortinet FortiGate Series Administration Manual page 347

Hide thumbs Also See for FortiGate Series:
Table of Contents

Advertisement

Router Static
Detailed description of how spill-over ECMP selects routes
FortiGate Version 4.0 MR1 Administration Guide
01-410-89802-20090903
http://docs.fortinet.com/
Feedback
To add route-spillover thresholds to interfaces from the CLI
1 Enter the following command to set the ECMP route failover and load balance method
to usage-based.
config system settings
set v4-ecmp-mode usage-based
end
2 Enter the following commands to add three route-spillover thresholds to three
interfaces.
config system interface
edit port1
set spillover-threshold 400
next
edit port2
set spillover-threshold 200
next
edit port3
set spillover-threshold 100
end
3 Enter the following commands to add three ECMP default routes, one for each
interface.
config router static
edit 1
set dst 0.0.0.0/0.0.0.0
set gwy 172.20.110.1
set dev port1
next
edit 2
set dst 0.0.0.0/0.0.0.0
set gwy 172.20.120.2
set dev port2
next
edit 3
set dst 0.0.0.0/0.0.0.0
set gwy 172.20.130.3
set dev port3
end
4 Enter the following command to display static routes in the routing table:
get router info routing-table static
S
0.0.0.0/0 [10/0] via 172.20.110.1, port1
In this example, the FortiGate unit sends all sessions to the Internet through port1. When
port1 exceeds its spillover threshold of 400 KBps the FortiGate unit sends all new
sessions to the Internet through port2. If both port1 and port2 exceed their spillover
thresholds the FortiGate unit would send all new sessions to the Internet through port3.
When you add ECMP routes they are added to the routing table in the order displayed by
the routing monitor or by the get router info routing-table static command.
This order is independent of the configured bandwidth limit.
[10/0] via 172.20.120.2, port2
[10/0] via 172.20.130.3, port3
ECMP route failover and load balancing
347

Advertisement

Table of Contents
loading

Table of Contents