set

system route number

system route number

Use this command to set and configure system routing.

Syntax

set system route number <route_int> dev1 {auto port1} dst <route_ip4> <mask_ip4> gw1 <gway_ip4>

Keywords and Variables

Description

 

 

number <route_int>

Enter the number of the route in the routing table. The default route is 0.

dev1 {auto port1}

Sets the FortiMail traffic-routing interface to auto or port1.

 

In auto, the FortiMail unit routes traffic to the interface that is on the same subnet

 

as gw1.

 

 

dst <route_ip4>

Sets the FortiMail unit route destination IP address and IP address mask.

<mask_ip4>

<route_ip4> is the destination IP address. <mask_ip4> is the IP address mask.

gw1 <gway_ip4>

Sets the FortiMail unit route primary gateway IP address.

 

<gateway_ipv4> is the primary gateway IP address.

History

FortiMail v3.0

New.

Related topics

set system interface config

set system interface mode static

FortiMail™ Secure Messaging Platform Version 3.0 MR4 CLI Reference

 

06-30004-0420-20080814

339

Page 339
Image 339
Fortinet 3.0 MR4 manual System route number