Fortinet white logo
Fortinet white logo

EMS CLI Reference

7.4.5

config set console

config set console

command to set specific webserver console configuration values

Synopsis

config set console sets the value(s) of the specified setting(s) in the webserver console configuration.

Multiple flags may be specified.

config set console [flags]

Options

      --allowed.hosts string   A comma-separated list (without spaces) of hostnames or IP addresses that the EMS web server will respond to (for example, EMS FQDN or FortiGate VIP address).
Note: This setting does not control user access by source IP. It only validates the HTTP host header for security.
      --enable.remote.access   Enables remote https access to the EMS console. Accepted values: true|false. For example, -enable.remote.access="false"
      --fileserver.port int    The fileserver port for the EMS console (default 10443)
  -h, --help                   help for console
      --http.port int          The http port for the EMS console (default 80)
      --https.port int         The https port for the EMS console (default 443)

See also

  • config set - for updating information in a specific EMS config file
  • config get console - command to retrieve specific console configuration values

config set console

config set console

command to set specific webserver console configuration values

Synopsis

config set console sets the value(s) of the specified setting(s) in the webserver console configuration.

Multiple flags may be specified.

config set console [flags]

Options

      --allowed.hosts string   A comma-separated list (without spaces) of hostnames or IP addresses that the EMS web server will respond to (for example, EMS FQDN or FortiGate VIP address).
Note: This setting does not control user access by source IP. It only validates the HTTP host header for security.
      --enable.remote.access   Enables remote https access to the EMS console. Accepted values: true|false. For example, -enable.remote.access="false"
      --fileserver.port int    The fileserver port for the EMS console (default 10443)
  -h, --help                   help for console
      --http.port int          The http port for the EMS console (default 80)
      --https.port int         The https port for the EMS console (default 443)

See also

  • config set - for updating information in a specific EMS config file
  • config get console - command to retrieve specific console configuration values