
56
01-28008-0030-20050128
Fortinet Inc.
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
1
Make sure that you are logged into the CLI.
2
Set the management IP address and netmask to the IP address and netmask that you
recorded in
Table 10 on page 54
. 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
3
Confirm that the address is correct. Enter:
get system manageip
The CLI lists the management IP address and netmask.
To configure DNS server settings
1
Set 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
1
Make sure that you are logged into the CLI.
2
Set the default route to the default gateway that you recorded in
Table 10 on page 54
.
Enter:
config router static
edit 1
set dst 0.0.0.0 0.0.0.0
set gateway <address_gateway>
set device <interface>
end