Administrator Guide

Table Of Contents
Switch Management Commands 2169
Syntax
logging protocol {
protocol-selector
}
no logging protocol
protocol-selector
—One of the following:
0 – Generate RFC3164 format messages
1 – Generate RFC5424 format messages
Default Configuration
Messages are logged in RFC3164 format by default.
Command Modes
Global Configuration mode.
User Guidelines
During system startup, messages are logged in RFC3164 format (e.g., in the
startup persistent log). Messages are logged in the selected format upon the
system processing the startup configuration.
The time zone must be configured for the system to generate RFC5424 log
messages with the time zone included.
The system does not support transmission of syslog messages using TLS.
Example
This example set the logging message format to RFC5424.
console(config)#logging protocol 1
This example sets the logging message format to RFC3164
console(config)#no logging protocol
The following example shows the logging format when logging protocol is set
to 0.
console(config)#logging protocol 0
console(config)#
<190> DEC 20 20:45:20 10.130.182.151-1 USER_MGR[249300304]: user_mgr.c(1789)
5 %% User abcd Failed to login because of authentication failures
2CSNXXX_SWUM204.book Page 2169 Monday, January 25, 2016 1:25 PM