Fortinet 60c manual Connecting to the command line interface CLI, To connect to the CLI

Page 17

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

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 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.

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-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.

FortiGate-60 Installation Guide

01-28008-0018-20050128

17

Image 17
Contents January 01-28008-0018-20050128 Installation GuideRegulatory Compliance TrademarksTable of Contents Index Introduction Secure installation, configuration, and managementWeb-based manager Command line interfaceDocument conventions Setup wizardFortiGate documentation FortiGate Installation GuideFortinet Knowledge Center Related documentationComments on Fortinet technical documentation FortiManager documentationFortiLog documentation Customer service and technical supportFortiMail documentation Customer service and technical support Customer service and technical support Getting started Mounting Package contentsPower requirements Turning the FortiGate unit power on and offEnvironmental specifications To power on the FortiGate unitTo connect to the web-based manager Connecting to the web-based managerTo connect to the CLI Connecting to the command line interface CLIBits per second 9600 Data bits Parity Stop bits Flow controlGo to System Network DNS Quick installation using factory defaultsFactory default Dhcp server configuration Factory default FortiGate configuration settingsFactory default NAT/Route mode network configuration Factory default firewall configuration Factory default Transparent mode network configurationAdministrative access Management IPScan Factory default protection profilesStrict NAT/Route mode Planning the FortiGate configurationExample NAT/Route mode network configuration NAT/Route mode with multiple external network connectionsExample NAT/Route multiple internet connection configuration Transparent modeNext steps Configuration optionsWeb-based manager and setup wizard Preparing to configure the FortiGate unit in NAT/Route mode NAT/Route mode installationPPPoE settings User name Password Using the web-based managerDhcp or PPPoE configuration To configure interfaces Go to System Network Interface Configuring basic settingsTo configure DNS server settings Go to System Network DNS To add a default routeConfiguring the FortiGate unit to operate in NAT/Route mode Using the command line interfaceTo add/change the administrator password To configure interfacesGet system interface ExampleTo configure DNS server settings Using the setup wizardExternal Interface Setup wizard settings PasswordDhcp server Internal serversSetup wizard settings Antivirus Connecting the FortiGate unit to the networksStarting the setup wizard FortiGate-60 FortiGate-60 NAT/Route mode connectionsConfiguring the Modem interface Configuring the networksTo configure virus, attack, and spam definition updates Go to System Config TimeTo set the date and time To register the FortiGate unitGo to System Maintenance Update Center Preparing to configure Transparent mode Transparent mode installationManagement IP To change the Management IP Go to System Network ManagementTo change to Transparent mode using the CLI Reconnecting to the web-based managerTo configure the default gateway To configure the management IP addressTo start the setup wizard Internal Connecting the FortiGate unit to your networkTo register your FortiGate unit Go to System Maintenance Update Center Configuring FortiGate units for HA operation High availability installationHigh availability configuration settings Priorities of heartbeat device and monitor prioritiesGroup ID MAC Address To change the FortiGate unit host name Config system global Set hostname namestr end Configuring FortiGate units for HA using the CLITo configure the FortiGate unit for HA operation Connecting the cluster to your networksTo connect the cluster HA network configurationInstalling and configuring the cluster Installing and configuring the cluster Redundant mode configuration Configuring the modem interfaceSelecting a modem mode To operate in standalone mode Go to System Network Modem Standalone mode configurationMode Configuring modem settingsAuto-dial Redundant forTo connect to a dialup account Go to System Network Modem Connecting and disconnecting the modem in Standalone modeTo configure modem settings Go to System Network Modem Dead gateway detection Defining a Ping ServerTo disconnect the modem ISPAdding firewall policies for modem connections CLI IndexIndex