# syslog server

## Syntax

{% code overflow="wrap" %}

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

{% endcode %}

## Syntax Description

<table><thead><tr><th width="193"></th><th></th></tr></thead><tbody><tr><td><code>no</code></td><td>(Optional) Stop sending log messages to the syslog server.</td></tr><tr><td>host</td><td>The name or IP address of the external syslog server.</td></tr><tr><td>port</td><td>(Optional) The TCP or UDP port number for the external syslog server.</td></tr></tbody></table>

## 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
```

## Related Commands


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.islandrouter.com/island-router-cli-2.3.2/commands/syslog/syslog-server.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
