Getting started Connecting to the command line interface (CLI)
FortiGate-60 Installation Guide 01-28008-0018-20050128 17
Connecting to the command line interface (CLI)
As an alternative to the web-based manager, you can install and configure the
FortiGate unit using the CLI. Configuration changes made with the CLI are effective
immediately without resetting the firewall or interrupting service.
To connect to the FortiGate CLI, you need:
a computer with an available communications port,
the RJ-45 to DB9 cable included in your FortiGate package,
terminal emulation software such as HyperTerminal for Windows.
To connect to the CLI
1Connect the null modem cable to the communications port of your computer and to
the FortiGate Console port.
2Make sure that the FortiGate unit is powered on.
3Start HyperTerminal, enter a name for the connection, and select OK.
4Configure HyperTerminal to connect directly to the communications port on your
computer and select OK.
5Select the following port settings and select OK.
6Press Enter to connect to the FortiGate CLI.
The following prompt is displayed:
FortiGate-60 login:
7Type admin and press Enter twice.
The following prompt is displayed:
Welcome !
Type ? to list available commands. For information about how to use the CLI, see the
FortiGate CLI Reference Guide.
Note: The following procedure describes how to connect to the CLI using Windows
HyperTerminal software. You can use any terminal emulation program.
Bits per second 9600
Data bits 8
Parity None
Stop bits 1
Flow control None