Fortinet black logo

Administration Guide

CLI arguments

Copy Link
Copy Doc ID 2cb222d1-3405-11ea-9384-00505692583a:162644
Download PDF

CLI arguments

The Passive Agent is designed to be run via an external script when a user logs onto or off of the network. Creating the script is the responsibility of the Administrator. When running the agent CLI arguments that indicate whether the agent is attempting to logon or logoff. If no argument is used, the agent defaults to login. Arguments are case sensitive.

Type

Arguments

Description

Logon

-login

/login

-logon

/logon

-on

/on

-in

/in

-authenticate

/authenticate

Any one of these arguments can be used to indicate Logon. There must be a space between the name of the agent file and the argument.

Example:

FortiNAC_Passive_Agent.exe -login

Logoff

-logout

/logout

-logoff

/logoff

-off

/off

-out

/out

-deauthenticate

/deauthenticate

Any one of these arguments can be used to indicate Logoff. There must be a space between the name of the agent file and the argument.

Example:

FortiNAC_Passive_Agent.exe -logout

CLI arguments

The Passive Agent is designed to be run via an external script when a user logs onto or off of the network. Creating the script is the responsibility of the Administrator. When running the agent CLI arguments that indicate whether the agent is attempting to logon or logoff. If no argument is used, the agent defaults to login. Arguments are case sensitive.

Type

Arguments

Description

Logon

-login

/login

-logon

/logon

-on

/on

-in

/in

-authenticate

/authenticate

Any one of these arguments can be used to indicate Logon. There must be a space between the name of the agent file and the argument.

Example:

FortiNAC_Passive_Agent.exe -login

Logoff

-logout

/logout

-logoff

/logoff

-off

/off

-out

/out

-deauthenticate

/deauthenticate

Any one of these arguments can be used to indicate Logoff. There must be a space between the name of the agent file and the argument.

Example:

FortiNAC_Passive_Agent.exe -logout