Configuring syslog server over TLS

Syntax

logging <IP-ADDR> tls <PORT-NUMBER>

no logging <IP-ADDR> tls <PORT-NUMBER>

Description

Configures the TLS port for syslog application. The default value for TLS port is 6514.

The no form of the command resets to the default TLS port number.

Command context

config

Parameters

IP-ADDR

Specifies the IP address.

PORT-NUMBER

Specifies the port number used for the IP address.

Examples

switch (config)# logging 10.7.21.2 tls
<1024-49151>            The port number to be used for the given IP-ADDR.
switch (config)# logging 10.7.21.2 tls 2048
<cr>