Fortinet white logo
Fortinet white logo

CLI Reference

system console

system console

Use this command to configure the management console settings. Usually this is set during the early stages of installation and needs no adjustment.

To use this command, your administrator account’s access control profile must have either w or rw permission to the sysgrp area. For details, see Permissions.

Syntax

config system console

set baudrate {9600 | 19200 | 38400 | 57600 | 115200}

set mode {batch | line}

set output {more | standard}

set shell {cli | sh}

end

Variable Description Default

baudrate {9600 | 19200 | 38400 | 57600 | 115200}

Select the baud rate of the console connection. The rate should conform to the specifications of your specific FortiWeb appliance. 9600

mode {batch | line}

Select the console input mode: either batch or line.

line

output {more | standard}

Select either:

  • more—When displaying multiple pages’ worth of output, pause after displaying each page’s worth of text. When the display pauses, the last line displays --More--. You can then either:
    • Press the spacebar to display the next page.
    • Type Q to truncate the output and return to the command prompt.
  • standard—Do not pause between pages’ worth of output, and do not offer to truncate output.
standard

shell {cli | sh}

Select either:

  • cli—Command-line shell.
  • sh—Busybox shell.
cli

Example

This example configures the local console connection to operate at 9,600 baud, and to show long output in a paged format.

config system console

set baudrate 9600

set output more

end

Related topics

system console

system console

Use this command to configure the management console settings. Usually this is set during the early stages of installation and needs no adjustment.

To use this command, your administrator account’s access control profile must have either w or rw permission to the sysgrp area. For details, see Permissions.

Syntax

config system console

set baudrate {9600 | 19200 | 38400 | 57600 | 115200}

set mode {batch | line}

set output {more | standard}

set shell {cli | sh}

end

Variable Description Default

baudrate {9600 | 19200 | 38400 | 57600 | 115200}

Select the baud rate of the console connection. The rate should conform to the specifications of your specific FortiWeb appliance. 9600

mode {batch | line}

Select the console input mode: either batch or line.

line

output {more | standard}

Select either:

  • more—When displaying multiple pages’ worth of output, pause after displaying each page’s worth of text. When the display pauses, the last line displays --More--. You can then either:
    • Press the spacebar to display the next page.
    • Type Q to truncate the output and return to the command prompt.
  • standard—Do not pause between pages’ worth of output, and do not offer to truncate output.
standard

shell {cli | sh}

Select either:

  • cli—Command-line shell.
  • sh—Busybox shell.
cli

Example

This example configures the local console connection to operate at 9,600 baud, and to show long output in a paged format.

config system console

set baudrate 9600

set output more

end

Related topics