config system route
Use this command to configure static routes.
Syntax
config system route
edit <seq-num>
set gateway <ip>
set dst <ip/netmask>
set device <interface name>
end
|
Variable |
Definiton |
|---|---|
|
edit <seq-num> |
Edit static route configuration (0 for new route). |
|
set gateway <ip> |
Set gateway IP address. |
|
set dst <ip/netmask> |
Set DST network. |
| set device <interface name> | Set route device. |
Example
This example shows how to set the FortiMonitor 100F port1 interface IPv4 address and network mask to 192.168.8.150 and 255.255.255.0, and the management access to https and ssh.
config system interface
edit port1
set allowaccess ping https ssh
set ip 192.168.110.26 255.255.255.0
set status up