syslog server

Enables the sending of system log messages to an external syslog server, and specifies the host and port number of the syslog server.

Syntax

[no] syslog server <host>[:<port>]

Syntax Description

no

(Optional) Stop sending log messages to the syslog server.

host

The name or IP address of the external syslog server.

port

(Optional) The TCP or UDP port number for the external syslog server.

Defaults

The default is not to write to an external syslog server.

The default port number is 514.

Usage Guidelines

System log messages may be sent to a remote syslog server for archival or system monitoring purposes. This command enables this behaviour and identifies the syslog server.

Examples

syslog 10.24.7.14

Last updated