Describes fundamentals of system logging, including purpose, key features, and its role in monitoring and troubleshooting network devices.
System logging is a process that
-
records a text log of system events using a mechanism similar to the UNIX syslog command,
-
allows devices to send log messages with configurable priority levels to UNIX-style syslog services, and
-
supports secure transmission over the Transport Layer Security (TLS) protocol.
Priority levels
Log messages have levels that indicate their priority. These are the same as for standard UNIX commands. You can configure the priority of syslog messages.
Security
Cisco IOS XE Catalyst SD-WAN devices send syslog messages to syslog servers on configured external hosts using TCP and UDP. When the devices send the syslog messages, the messages might transit several hops to reach the output destination. The intermediate networks during the hops might not be trustworthy, be in a different domain, or have a different security level. Therefore, Cisco IOS XE Catalyst SD-WAN devices support sending secure syslog messages over TLS as described in RFC 5425. To secure the syslog message content from potential tampering, the TLS protocol is used for certificate exchange, mutual authentication, and ciphers negotiation.
Cisco IOS XE Catalyst SD-WAN devices support both mutual and server authentication for sending syslog messages over TLS.
Benefits of using TLS
-
Message confidentiality
Confidentiality of message content where each TLS session begins with a handshake between the Cisco IOS XE Catalyst SD-WAN device and the syslog server. The Cisco IOS XE Catalyst SD-WAN device and syslog server agree on the specific security key and the encryption algorithms to be used for that session. The TLS session opposes any disclosure of the contents of the syslog message.
-
Message integrity
Integrity-checking of the content of each message to disable modifications to a message during transit on a hop-by-hop basis.
-
Authentication
Mutual authentication between the Cisco IOS XE Catalyst SD-WAN device and syslog server ensures that the syslog server accepts log messages only from authorized clients through certificate exchange.