Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
sotir1984
New Contributor II

How to check account via CLI

Hi,

 

Does anyone know how to check to which account is the device registered via CLI?

 

-sotir1984-

-1984-

-1984-
2 REPLIES 2
a_acampa
New Contributor

I suppose you mean account for license and support.

i don't know if exist this type of command

Via cli you can use: 

get sys fortiguard-service status

get sys fortiguard  but you can see status of updates and license, the accout is not showned

emnoc
Esteemed Contributor III

You can do the following

 

diag debug reset

diag debug app update -1 diag debug enable

 

Now run the following and capture to a file

exec update-now

 

 

Look for the contract names and email.

 

EDIT alternative you can use the  hidden fnsysctl cmd

 

fnsysctl more  /etc/upd.dat

 

That file 1st line would be account  detail ( email )

 

 

Ken

 

PCNSE 

NSE 

StrongSwan  

PCNSE NSE StrongSwan
Labels
Top Kudoed Authors