5.5.4.2logging console

This command enables logging to the console.

Syntax

logging console [<severitylevel> <0-7>] no logging console

[<severitylevel> <0-7>] - The value is specified as either an integer from 0 to 7 or symbolically through one of the following keywords: emergency (0), alert (1), critical (2), error (3), warning (4), notice (5), informational (6), debug (7).

no - This command disables logging to the console.

Default Setting

None

Command Mode

Privileged Exec

5.5.4.3logging host

This command enables logging to a host where up to eight hosts can be configured.

Syntax

logging host <hostaddress> [ <port>] [[<severitylevel> <0-7>]]

<hostaddress> - IP address of the log server. <port> - Port number.

[<severitylevel> <0-7>] - The value is specified as either an integer from 0 to 7 or symbolically through one of the following keywords: emergency (0), alert (1), critical (2), error (3), warning (4), notice (5), informational (6), debug (7).

185

Page 185
Image 185
Fortinet MR1 manual Logging host, Syntax Logging console severitylevel 0-7 no logging console