Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

FortiOS CLI reference

This document describes FortiOS 6.4.4 CLI commands used to configure and manage a FortiGate unit from the command line interface (CLI).

The CLI syntax is created by processing the schema from a FortiGate 3000D running FortiOS 6.4.4, and reformatting the resultant CLI output.

For information on using the CLI, see the FortiOS 6.4.4 Administration Guide, which contains information such as:

If you have comments on this content, its format, or requests for commands that are not included, contact us at techdoc@fortinet.com.

Availability of commands and options

Some FortiOS CLI commands and options are not available on all FortiGate units. The CLI displays an error message if you attempt to enter a command or option that is not available. You can use the question mark ‘?’ to verify the commands and options that are available.

Commands and options may not be available for the following reasons:

FortiGate model

All commands are not available on all FortiGate models. For example, a hardware switch can be configured only on models which have the corresponding hardware switch chipset.

Hardware configuration

For example, settings like mediatype would only be available on units with SFPs.

FortiOS Carrier, FortiGate 5K/6K/7K, FortiGate with LTE, etc.

Commands for extended functionality are not available on all FortiGate models. The CLI Reference may not include all commands.

FortiOS CLI reference

This document describes FortiOS 6.4.4 CLI commands used to configure and manage a FortiGate unit from the command line interface (CLI).

The CLI syntax is created by processing the schema from a FortiGate 3000D running FortiOS 6.4.4, and reformatting the resultant CLI output.

For information on using the CLI, see the FortiOS 6.4.4 Administration Guide, which contains information such as:

If you have comments on this content, its format, or requests for commands that are not included, contact us at techdoc@fortinet.com.

Availability of commands and options

Some FortiOS CLI commands and options are not available on all FortiGate units. The CLI displays an error message if you attempt to enter a command or option that is not available. You can use the question mark ‘?’ to verify the commands and options that are available.

Commands and options may not be available for the following reasons:

FortiGate model

All commands are not available on all FortiGate models. For example, a hardware switch can be configured only on models which have the corresponding hardware switch chipset.

Hardware configuration

For example, settings like mediatype would only be available on units with SFPs.

FortiOS Carrier, FortiGate 5K/6K/7K, FortiGate with LTE, etc.

Commands for extended functionality are not available on all FortiGate models. The CLI Reference may not include all commands.