syslog host

Configure the syslog host and related parameters for sending the logging the message.

Syntax

Command Parameters

address WORD<0-46>
Configures a host location for the syslog host. WORD<0-46> is the IP address of the UNIX system syslog host.
enable
Enables the syslog host.
facility {local0|local1|local2|local3|local4|local5|local6|local7}
Specifies the UNIX facility used in messages to the syslog host. {local0|local1|local2|local3|local4|local5|local6|local7} is the UNIX system syslog host facility (LOCAL0 to LOCAL7).
host
Specifies host settings.
maperror {emergency|alert|critical|error|warning|notice|info|debug}
Specifies the syslog severity to use for Error messages.
mapfatal {emergency|alert|critical|error|warning|notice|info|debug}
Specifies the syslog severity to use for Fatal messages.
mapinfo {emergency|alert|critical|error|warning|notice|info|debug}
Specifies the syslog severity level to use for Information messages.
mapwarning {emergency|alert|critical|error|warning|notice|info|debug}
Specifies the syslog severity to use for Warning messages.
secure-forwarding mode {none | tls server-certname WORD<1-64>}
Specifies the mode of secure forwarding of syslog on the host. The default mode is none, that is, tls mode is disabled by default.
secure-forwarding tcp-port <1025–49151>
Set the tcp-port for secure forwarding of syslog for host. The default tcp-port is 1025. The tcp-port 6000 cannot be used, as it is used as an internal port for Internal Spanning Tree (IST).
severity <info|warning|error|fatal>
Specifies the severity levels for which syslog messages should be sent for the specified modules.
udp-port <514-530>
Specifies the UDP port number on which to send syslog messages to the syslog host. This is the UNIX system syslog host port number (514 to 530).

Default

None

Command Mode

Global Configuration