syslog protocol
Specifies whether TCP or UDP is used to communicate with an external syslog server.
Syntax
[no] syslog protocol tcp|udpSyntax Description
no
(Optional) Resets the syslog protocol to its default value.
tcp
Use TCP to send syslog messages.
udp
Use UDP to send syslog messages.
Defaults
The default syslog protocol is UDP.
Usage Guidelines
This command sets the protocol used to send syslog messages to an external syslog server. If udp is specified, syslog messages are sent using the UDP protocol as defined in RFC 5426. If tcp is specified, syslog messages are sent using the TCP protocol as defined in RFC 6857.
Examples
syslog protocol tcpRelated Commands
Last updated