syslog-servers

This command configures the Syslog Servers table, which allows you to configure multiple (up to four) secondary remote syslog servers to where the device can sends syslog messages.

Syntax

(config-troubleshoot)# syslog
(syslog)# syslog-servers <Index>
(syslog-servers-<Index>)#

Command

Description

Index

Defines the table row index.

info-type {All|CDR|SDR}

Defines the type of information (only CDRs, only SDRs, or all) to send in the syslog.

ip-address

Defines the syslog server's IP address (IPv4 or IPv6) or FQDN.

mode {off|on}

Activates or deactivates the syslog server.

port

Defines the syslog server's port number.

protocol {udp|tcp|tls}

Defines the transport protocol for communicating with the Syslog server.

severity-level {Alert|Critical| Debug|Emergency|Error|Informational| Notice|Warning}

Defines the minimum severity level of messages included in the Syslog message.

Command Mode

Privileged User

Niotes

To configure the primary syslog server, see syslog.
Duplicated secondary syslog servers configuration is invalid (i.e., cannot have the same IP address and port) and none can have the same IP address and port as the primary syslog server.
The syslog sequence number resets if the device is reset.

Example

This example configures a secondary syslog server:

(config-troubleshoot)# syslog
(syslog)# syslog-servers 0
(syslog-servers-0)# ip-address 10.14.5.3
(syslog-servers-0)# mode on
(syslog-servers-0)# severity-level Alert