Fortinet black logo

CLI Reference

route

route

Use this command to view or configure static routing table entries on your FortiManager unit.

Syntax

config system route

edit <seq_int>

set device <port>

set dst <dst_ipv4mask>

set gateway <gateway_ipv4_address>

end

Variable

Description

<seq_int>

Enter an unused routing sequence number to create a new route. Enter an existing route number to edit that route.

device <port>

Enter the port (interface) used for this route.

dst <dst_ipv4mask>

Enter the IPv4 address and mask for the destination network.

gateway <gateway_ipv4_address>

Enter the default gateway IPv4 address for this network.

route

route

Use this command to view or configure static routing table entries on your FortiManager unit.

Syntax

config system route

edit <seq_int>

set device <port>

set dst <dst_ipv4mask>

set gateway <gateway_ipv4_address>

end

Variable

Description

<seq_int>

Enter an unused routing sequence number to create a new route. Enter an existing route number to edit that route.

device <port>

Enter the port (interface) used for this route.

dst <dst_ipv4mask>

Enter the IPv4 address and mask for the destination network.

gateway <gateway_ipv4_address>

Enter the default gateway IPv4 address for this network.