Fortinet black logo

Handbook (HTML)

config system route

Copy Link
Copy Doc ID 73ac471a-9afd-11ea-8862-00505692583a:616142

config system route

The config system route command allows you to view or configure static routing table entries.

Syntax

config system route

edit <seq_num>

set device <port>

set dst <dst_ip_mask>

set gateway <gw_ip>

end

where:

Variable Description Default
<seq_num> Enter an unused routing sequence number to create a new route. Enter an existing route number to edit that route. No default.
device <port> Enter the port used for this route. No default.
dst <dst_ip_mask> Enter the IP address and mask for the destination network. 0.0.0.0 0.0.0.0
gateway <gw_ip> Enter the default gateway IP address for this network. 0.0.0.0

See also

config system route

The config system route command allows you to view or configure static routing table entries.

Syntax

config system route

edit <seq_num>

set device <port>

set dst <dst_ip_mask>

set gateway <gw_ip>

end

where:

Variable Description Default
<seq_num> Enter an unused routing sequence number to create a new route. Enter an existing route number to edit that route. No default.
device <port> Enter the port used for this route. No default.
dst <dst_ip_mask> Enter the IP address and mask for the destination network. 0.0.0.0 0.0.0.0
gateway <gw_ip> Enter the default gateway IP address for this network. 0.0.0.0

See also