Getting started

Connecting to the command line interface (CLI)

 

 

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 serial cable included in your FortiGate package,

the RJ-45 to DB-9 convertor included in your FortiGate package (if required),

terminal emulation software such as HyperTerminal for Windows.

Note: The following procedure describes how to connect to the CLI using Windows

HyperTerminal software. You can use any terminal emulation program.

To connect to the CLI

1Connect the RJ-45 serial cable to the communications port of your computer and to the FortiGate Console port.

Use the RJ-45 to DB-9 convertor if your PC communications port requires a DB-9 connector.

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 the computer to which you have connected the null modem cable and select OK.

5Select the following port settings and select OK.

Bits per second

9600

Data bits

8

Parity

None

Stop bits

1

Flow control

None

6Press Enter to connect to the FortiGate CLI. The following prompt is displayed:

FortiGate-800 login:

7Type admin and press Enter twice. The following prompt is displayed:

Type ? for a list of commands.

For information about how to use the CLI, see the FortiGate CLI Reference Guide.

FortiGate-800 Installation and Configuration Guide

29

Page 29
Image 29
Fortinet FortiGate-800 manual Connecting to the command line interface CLI, To connect to the CLI, Stop bits Flow control