FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
johnathan
Staff
Staff
Article Id 408710
Description This article describes a workaround for the CLI behavior when using FortiGate Cloud to manage a FortiGate on v7.6.4.
Scope FortiGate Cloud v7.6.4.
Solution

When accessing the CLI inside the Web GUI via FortiGate Cloud, the default VDOM is not the usual 'root' VDOM if the FortiGate is running on v7.6.4.

To check the current VDOM, run 'get sys stat'. Here is the output when accessing the device through FortiGate Cloud:

 

lab_fgtcld.PNG
Under 'Current virtual domain', the VDOM is 'vsys_fgfm', which is usually an internal VDOM. The output for most commands will be unexpected until the correct VDOM is selected.

Here is the output when accessing the device directly:

 

lab_direct.PNG

 

Here, the default is 'root'. To select the right VDOM if FortiGate Cloud must be used, run 'exec enter root'. This will manually move the CLI session to the correct VDOM.

 

Contributors