Fortinet white logo
Fortinet white logo

route

route

Configure system route settings.

Usage

config system route
show | delete <route> | edit <route>
    set device <device>
    set dst <destination_ip/netmask>
    set gateway <ip_address>
end

Subcommands

Command

Description

abort

End and discard last config.

delete

Delete a table value.

edit

Add or edit a table value.

end

End and save last config.

help

List available commands or provide detailed help for a specific command.

show

show all table values.

Set arguments

Argument

Description

device

System device (port1).

dst

Destination IP and mask for this route (0.0.0.0/0).

gateway

Default gateway (192.168.1.1)

route

route

Configure system route settings.

Usage

config system route
show | delete <route> | edit <route>
    set device <device>
    set dst <destination_ip/netmask>
    set gateway <ip_address>
end

Subcommands

Command

Description

abort

End and discard last config.

delete

Delete a table value.

edit

Add or edit a table value.

end

End and save last config.

help

List available commands or provide detailed help for a specific command.

show

show all table values.

Set arguments

Argument

Description

device

System device (port1).

dst

Destination IP and mask for this route (0.0.0.0/0).

gateway

Default gateway (192.168.1.1)