Fortinet black logo

Status, diagnostics, and debugging commands

Copy Link
Copy Doc ID f815156d-f108-11e9-8977-00505692583a:415381
Download PDF

Status, diagnostics, and debugging commands

FortiExtender supports the following CLI commands for system status checking, diagnostics, and debugging.

Task

CLI command/action

Check connectivity to FortiGate

get extender status

Check connectivity to FortiExtenderCloud

get cpm status

Check the status of modems

get modem status

Perform health checks and monitoring

get hmon hchk vwan.<vwan_member name>

(The member can be tunnel0 or tunnel1.)

Perform modularized debugging

  1. Select the module.
  2. Turn the log level on/off as needed.

Debug

execute debug <module> <log level> on/off

Logs on telnet/ssh

execute debug log-to-console on

SYSTEM,MONITORD, EXTD, MDMD, CONNMGR,NETD,CLI,GUI CPM,CONFIG,JCLI,HMON,IPSecD,FIREWALLD

Applicable log levels

error, info, dbg, fatal, warning, trace

Packet tracing

Start the tcpdump utility from the shell prompt using the command execute shell.

Status, diagnostics, and debugging commands

FortiExtender supports the following CLI commands for system status checking, diagnostics, and debugging.

Task

CLI command/action

Check connectivity to FortiGate

get extender status

Check connectivity to FortiExtenderCloud

get cpm status

Check the status of modems

get modem status

Perform health checks and monitoring

get hmon hchk vwan.<vwan_member name>

(The member can be tunnel0 or tunnel1.)

Perform modularized debugging

  1. Select the module.
  2. Turn the log level on/off as needed.

Debug

execute debug <module> <log level> on/off

Logs on telnet/ssh

execute debug log-to-console on

SYSTEM,MONITORD, EXTD, MDMD, CONNMGR,NETD,CLI,GUI CPM,CONFIG,JCLI,HMON,IPSecD,FIREWALLD

Applicable log levels

error, info, dbg, fatal, warning, trace

Packet tracing

Start the tcpdump utility from the shell prompt using the command execute shell.