config router isp
Network systems maintain route tables to determine where to forward TCP/IP packets. Use this command to configure ISP routes. ISP routes can be used for outbound traffic and link load balancing traffic.
Routes for outbound traffic are chosen according to the following priorities:
- Link local routes—Self-traffic uses link local routes.
- LLB policy route—Configured policy routes have priority over default routes.
- System policy route—Configured policy routes have priority over default routes.
- Static route / ISP route / OSPF route—Priority is based on the distance metric. By default, distance for static routes is 10, for ISP routes is 20, and for OSPF routes is 110. The distance metric is configurable for static routes and OSPF routes, but not ISP routes.
- Default LLB route—Default routes have lower priority than configured routes.
- Default static route / OSPF route—Default routes have lower priority than configured routes.
Before you begin:
- You must have read-write permission for system settings.
Note: Adding a new ISP route does not affect existing sessions. Deleting or editing an ISP route causes the related sessions to be re-created.
Syntax
config router isp
edit <No.>
set destination <datasource>
set gateway <class_ip>
next
end
destination |
Specify an ISP address book configuration object. Note: Two ISP routes cannot reference the same ISP address book. The ISP routing feature does not support multipath routing. |
gateway |
IP address of the gateway router that can route packets to the destination IP address that you have specified. |
Example
FortiADC-VM # config router isp
See also