Using the command line interface

Transparent mode installation

 

 

The CLI displays the status of the FortiGate unit including the following line of text:

Operation mode: Transparent

To configure the management IP address

1Make sure that you are logged into the CLI.

2Set the management IP address and netmask to the IP address and netmask that you recorded in Table 9 on page 40. Enter:

config system manageip

set ip <address_ip> <netmask> end

Example

config system manageip

set ip 10.10.10.2 255.255.255.0 end

3Confirm that the address is correct. Enter:

get system manageip

The CLI lists the management IP address and netmask.

To configure DNS server settings

1Set the primary and secondary DNS server IP addresses. Enter

config system dns

set primary <address_ip> set secondary <address_ip>

end

Example

config system dns

set primary 293.44.75.21 set secondary 293.44.75.22

end

To configure the default gateway

1Make sure that you are logged into the CLI.

2Set the default route to the default gateway that you recorded in Table 9 on page 40. Enter:

config router static edit 1

set dst 0.0.0.0 0.0.0.0

set gateway <address_gateway> set device <interface>

end

42

01-28008-0018-20050128

Fortinet Inc.

Page 42
Image 42
Fortinet MR8 manual To configure the management IP address, To configure the default gateway