1 cli command format, Cli command format – Fortinet 548B User Manual

Page 30

Advertising
background image

- 30 -

6.

Command Line Interface Structure and Mode-based CLI

The Command Line Interface (CLI) syntax, conventions, and terminology are described in this section.
Each CLI command is illustrated using the structure outlined below.

6.1

CLI Command Format

Commands are followed by values, parameters, or both.

Example 1

ip address <ipaddr> <netmask> [<gateway>]

ip address is the command name.

<ipaddr> <netmask> are the required values for the command.

[<gateway>] is the optional value for the command.

Example 2

snmp-server location <loc>

snmp-server location is the command name.

<loc> is the required parameter for the command.

Example 3

clear vlan

clear vlan is the command name.

Command

The text in bold, non-italic font must be typed exactly as shown.

Advertising