I have a Fortiwifi 60d, and I am a member of the super_admin group. I am not able to execute commands from the cli widget. Here is the error message I get when I try to run a command:
FWF60D4613003523 # get system logged-users
Command fail. Return code -61
command parse error before 'logged-users'
I am not able to run any command from the cli widget. Can anyone give me some ideas of what this error message means? I have reviewed the documentation (not completely, but enough to wonder why exactly the cli widget does not work) and I cannot find any reason why the widget does not work. I am obviously missing something here, and I would appreciate some help.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Hi J.
Welcome to the forums.
As far as I am aware, the "get system logged-users" command is only available on the FortiWeb appliance.
Are VDOMs enabled on the fgt? Can you press/enter ? on the CLI to see what commands are available?
NSE4/FMG-VM64/FortiAnalyzer-VM/6.0 (FWF30E/FW92D/FGT200D/FGT101E/FGT81E)/ FAP220B/221C
Yes, I have two vdoms. I do get this output with ?:
config config object
get get dynamic and system information
show show configuration
exit exit CLI
I can display some output with these commands, but this seems a tiny subset of the commands in the cli reference for fortios 5.0. What does the above output indicate to you?
CLI functions differently wtih vdoms enabled -- you are limited to make changes either through "config global" or "config vdom" then edit <vdom name>.
sfg240-temp login: super-admin
Password: **********
Welcome !
sfg240-temp #?
config Configure object.
get Get dynamic and system information.
show Show configuration.
exit Exit the CLI.
sfg240-temp # config ?
global config global
vdom config vdom
sfg240-temp # config vdom
sfg240-temp (vdom) # edit ?
<vdom> Virtual Domain Name
root
vtest-1
vtest-2
sfg240-temp (vdom) #
NSE4/FMG-VM64/FortiAnalyzer-VM/6.0 (FWF30E/FW92D/FGT200D/FGT101E/FGT81E)/ FAP220B/221C
Ok, can you tell me which Fortinet document goes over this?
jdickerson wrote:Ok, can you tell me which Fortinet document goes over this?
Fortinet Document Library->Virtual Domains. Link is for 5.0.
NSE4/FMG-VM64/FortiAnalyzer-VM/6.0 (FWF30E/FW92D/FGT200D/FGT101E/FGT81E)/ FAP220B/221C
Thank you.
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1517 | |
1013 | |
749 | |
443 | |
209 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.