1 cli command format, 2 cli mode-based topology – Fortinet MR1 User Manual
Page 46
46
4 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.
4.1 CLI Command Format
Commands are followed by values, parameters, or both.
Example 1
IP address
•
• [
Example 2
snmp-server host
•
Example 3
clear vlan
• clear vlan is the command name.
Command
The text in bold, non-italic font must be typed exactly as shown.
4.2 CLI Mode-based Topology
Parameters
Parameters are order dependent.
The text in bold italics should be replaced with a name or number. To use spaces as part of a
name parameter, enclose it in double quotes like this: "System Name with Spaces".
Parameters may be mandatory values, optional values, choices, or a combination.
–
in place of the brackets and text inside them.
– [parameter]. The [] square brackets indicate that an optional parameter may be entered in
place of the brackets and text inside them.
– choice1 | choice2. The | indicates that only one of the parameters should be entered.