Fortinet black logo

Admin Guide

Common CLI commands

Copy Link
Copy Doc ID 5d644aea-e0c2-11ee-8c42-fa163e15d75b:989228
Download PDF

Common CLI commands

This section contains a list of common CLI commands for your FortiExtender device. For a full list of CLI commands, refer to the FortiExtender Administration Guide.

Changing the administrative password

When you first access the CLI of your FortiExtender device, the default password is blank. We strongly recommend that you create a new password to secure your FortiExtender.

execute shell

~ passwd

Execute the device shell and enter "passwd" to change the password on your FortiExtender.

Note: This is the only way to change the password on a FortiExtender running OS firmware 4.0 and earlier.

execute change-password

Change the password on a FortiExtender running OS firmware 4.1 and later.

Troubleshooting commands

You can use the following status and debug commands to check the device status and debug accordingly.

Status CLI Commands

get system version

Shows the device's hardware and software versions.

get extender status

Displays the device's synchronization status with FortiExtender Cloud.

get cpm status

Provides the device's SSL tunnel information and connectivity status.

get modem status

Details the cellular modem's status.

Logging and Debugging

execute debug log-to-console on

Displays logs on telnet or the cloud console terminal.

execute debug log-to-console off

Turns off logs on telnet or the cloud console terminal.

execute debug clear

Turns off all enabled logging.

execute debug EXTD info on

Turns on extender information logging.

execute debug EXTD info off

Turns off extender information logging.

execute debug CPM info on

Turns on cpm information logging.

execute debug CPM info off

Turns off cpm information logging.

execute debug CONNMGR info on

Turns on modem's information logging.

execute debug CONNMGR info off

Turns off modem's information logging.

Note

Log-to-console commands are not required while accessing the device over the serial console port. They are only applicable to telnet or cloud console terminals.

Common CLI commands

This section contains a list of common CLI commands for your FortiExtender device. For a full list of CLI commands, refer to the FortiExtender Administration Guide.

Changing the administrative password

When you first access the CLI of your FortiExtender device, the default password is blank. We strongly recommend that you create a new password to secure your FortiExtender.

execute shell

~ passwd

Execute the device shell and enter "passwd" to change the password on your FortiExtender.

Note: This is the only way to change the password on a FortiExtender running OS firmware 4.0 and earlier.

execute change-password

Change the password on a FortiExtender running OS firmware 4.1 and later.

Troubleshooting commands

You can use the following status and debug commands to check the device status and debug accordingly.

Status CLI Commands

get system version

Shows the device's hardware and software versions.

get extender status

Displays the device's synchronization status with FortiExtender Cloud.

get cpm status

Provides the device's SSL tunnel information and connectivity status.

get modem status

Details the cellular modem's status.

Logging and Debugging

execute debug log-to-console on

Displays logs on telnet or the cloud console terminal.

execute debug log-to-console off

Turns off logs on telnet or the cloud console terminal.

execute debug clear

Turns off all enabled logging.

execute debug EXTD info on

Turns on extender information logging.

execute debug EXTD info off

Turns off extender information logging.

execute debug CPM info on

Turns on cpm information logging.

execute debug CPM info off

Turns off cpm information logging.

execute debug CONNMGR info on

Turns on modem's information logging.

execute debug CONNMGR info off

Turns off modem's information logging.

Note

Log-to-console commands are not required while accessing the device over the serial console port. They are only applicable to telnet or cloud console terminals.